Health help - 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: Health help (
/showthread.php?tid=627206)
Health help -
HidroDF - 25.01.2017
Hello!
I'm having troubles with health. ID 0 is inmortal, he doesn't recive any damage (only if he burns on fire or fall from hight...). But the other id's works fine, they recive all the damage. I'm not using any custom dama system or similar, I dont know what is happening.
Anyone?
Re: Health help -
X337 - 25.01.2017
Show us code under OnPlayerWeaponShot callback, if you don't mind.
Re: Health help -
saffierr - 25.01.2017
Reset player their variables under OnPlayerConnect to avoid these kind of bugs.
Re: Health help -
BiosMarcel - 25.01.2017
Quote:
Originally Posted by saffierr
Reset player their variables under OnPlayerConnect to avoid these kind of bugs.
|
that is kind of a general thing, that you houldn't just suggest without knowing anything about his script.