OnPlayerTakeDamage - can someone show me an example.. - 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)
+--- Thread: OnPlayerTakeDamage - can someone show me an example.. (
/showthread.php?tid=369013)
OnPlayerTakeDamage - can someone show me an example.. -
Ghost100 - 15.08.2012
To prevent fake kills, i want to use this callback to make sure the player is holding the weapon in his hand...how do i do that?
Do i use OnPlayerGiveDamage or OnPlayerTakeDamage, and how?
If they dont have the weapon, they get kicked..
Ive never used this call back which is why it may seem like a nooby question.
Thanks
Re: OnPlayerTakeDamage (for anti fake kills) - can someone show me an example.. -
Ghost100 - 15.08.2012
*bump*