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=617592)
OnPlayerGiveDamage -
MerryDeer - 23.09.2016
Hi,
This callback get called when player HP get increased by shoot or no?
Re: OnPlayerGiveDamage -
Lynn - 23.09.2016
It's called when you give damage to anther player.
OnPlayerTakeDamage
Is called when you take damage.
Re: OnPlayerGiveDamage -
MerryDeer - 23.09.2016
No, i need just know OnPlayerGiveDamage if i use there getplayerhealth i always get old health?
Re: OnPlayerGiveDamage -
GoldenLion - 23.09.2016
On both OnPlayerTakeDamage and OnPlayerGiveDamage you will get the amount of health that player had before taking the default damage.