SA-MP Forums Archive
Bullet Damage problem | + rep - 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: Bullet Damage problem | + rep (/showthread.php?tid=343908)



Bullet Damage problem | + rep - umarmalik - 19.05.2012

Hello,

I have a problem in my script when I shoot on some one with any gun the Hp and armour bar decreases both at the same time, can some one help me, what I need to do to fix that bug.


Re: Bullet Damage problem | + rep - [HiC]TheKiller - 19.05.2012

Make sure you don't have SetPlayerHealth under OnPlayerGiveDamage or OnPlayerTakeDamage.


Re: Bullet Damage problem | + rep - umarmalik - 19.05.2012

In my script I didn't use OnPlayerGiveDamage or OnPlayerTakeDamage.