SA-MP Forums Archive
onplayerweaponshoot - 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: onplayerweaponshoot (/showthread.php?tid=620464)



onplayerweaponshoot - MerryDeer - 30.10.2016

Hi,

When player shoot to player this callback get called, and then how much time was when onplayertakedamage get called?


Re: onplayerweaponshoot - iLearner - 30.10.2016

They are both different things, and self explanatory.

Onplayerweaponshot is called when a player shots, even if shot in air.
Onplayertakedamage is called when a player gets damage, simple?


Re: onplayerweaponshoot - oMa37 - 30.10.2016

Quote:
Originally Posted by SA-MP Wiki
This callback is called when a player fires a shot from a weapon.
Quote:
Originally Posted by SA-MP Wiki
This callback is called when a player takes damage.
Are you a dumbass? I don't think you are doing this just because to get help, You do it intentionally.