Posts: 59
Threads: 9
Joined: Sep 2007
Reputation:
0
is there a code that defines who shot you, with what gun? something like OnPlayerDamage or anything similar to that
Posts: 2,629
Threads: 40
Joined: Mar 2008
Reputation:
0
No there is not. You can only find who Killed you calling the function OnPlayerDeath.
Posts: 3,262
Threads: 30
Joined: Aug 2008
Reputation:
0
Although I know that ****** had made something to check when player shoots you, also he did something with Rifle gun, when you get shoot by a rifle gun, your hp should be less in 30%, ****** made it around 70%.
Don't ask me how - no clue.