Which is better? - 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: Which is better? (
/showthread.php?tid=361426)
Which is better? -
seanny - 21.07.2012
OnPlayerShootPlayer, OnPlayerGiveDamage or OnPlayerTakeDamage for a taser?
Re: Which is better? -
ViniBorn - 21.07.2012
I prefer OnPlayerGiveDamage
Re: Which is better? -
JaKe Elite - 21.07.2012
OnPlayerTakeDamage is called when player is damage.
So i don't recommend you to use it for tazing. xD.
i prefer OnPlayerGiveDamage it works all the time.