SA-MP Forums Archive
OnPlayerWeaponShoot and OnPlayerTakeDamage - 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 and OnPlayerTakeDamage (/showthread.php?tid=607467)



OnPlayerWeaponShoot and OnPlayerTakeDamage - ScIrUsna - 20.05.2016

Hi,

If i use onplayerweaponshoot return 0 i will Prevent the bullet from causing damage. onplayertakedamage get called or no?


Re: OnPlayerWeaponShoot and OnPlayerTakeDamage - xTURBOx - 20.05.2016

I don't think so. As the player receives no damage?


Re: OnPlayerWeaponShoot and OnPlayerTakeDamage - Gammix - 20.05.2016

Yes it is called all the time, even if you have same teams.