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



OnPlayerGiveDamage - Jekazzz - 30.03.2012

Is it true that OnPlayerGiveDamage called when a player hits another player on the skeleton?
P.s I'm sorry for my bad English. I'm from Russia and not studying English.


Re: OnPlayerGiveDamage - Shabi RoxX - 30.03.2012

this called whenever player get damage


Re: OnPlayerGiveDamage - Jekazzz - 30.03.2012

I'm sorry for my bad English. I'm from Russia and not studying English.


Re: OnPlayerGiveDamage - Mike_Peterson - 30.03.2012

Actually, OnPlayerTakeDamage gets called(atleast on my server) whenever the player loses health, doesn't has to be with a weapon, but OnPlayerGiveDamage, is only getting called when the player damages the other (with weapons/fist).