SA-MP Forums Archive
About health and armour. - 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: About health and armour. (/showthread.php?tid=353110)



About health and armour. - budelis - 22.06.2012

Hi. I want to ask :

I HAVE 100HP.
I HAVE 2 ARMOUR.

one person shoot to me, and i lose 50 damage. I want to ask:

Do i have 0 armour and 52 HP?

And when i use GetPlayerArmour, value will be 0 ?


Re: About health and armour. - [MM]RoXoR[FS] - 22.06.2012

You are right.
Your health will be 52 and 0 armour.


Re: About health and armour. - budelis - 22.06.2012

Next thing, if i shoot to my friend ( us team will be same ), this callback will be called?

OnPlayerTakeDamage ?


AW: About health and armour. - Tigerkiller - 22.06.2012

yes . .