Defining Damage - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Defining Damage (
/showthread.php?tid=77737)
Defining Damage -
help! - 14.05.2009
is there a code that defines who shot you, with what gun? something like OnPlayerDamage or anything similar to that
Re: Defining Damage -
[HiC]TheKiller - 14.05.2009
No there is not. You can only find who Killed you calling the function OnPlayerDeath.
Re: Defining Damage -
MenaceX^ - 14.05.2009
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.