Hey
trying to use GetPedSourceOfDamage
I have a thing where it checks if the player is damaged HasEntityBeenDamagedByAnyPed
which works when i test it with a simple print.
But the problem is that I want to trigger a server event after the hit check and do the function GetPedSourceOfDamage.
What do I need to input into the function to get the player id of the one who hit the player?
Thanks in advanced