Hello, I’m trying to make a script that detect if player shoots a player with any kind of weapon. And if the shot hit the player then it makes a tick sound effect basically. I’ve done most of the code But
GetPedSourceOfDamage
Is not working for me. It just tells me nil. basically turns out its a undefined function
Any solutions how to get who was the Ped damaged by?
Thank you!