Im immortal on my server - 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: Im immortal on my server (
/showthread.php?tid=676052)
Im immortal on my server -
Tudusek - 28.05.2020
Hi. I finished my saving system, but when i connect to my server my health bar is flashing and I can't get hurt.
Does anyone know how to solve this?
Re: Im immortal on my server -
Kwarde - 28.05.2020
Look for all SetPlayerHealth functions in your script. If there are non constant values, make sure to print those values to see whats going on
Re: Im immortal on my server -
Tudusek - 28.05.2020
Thanks.
It did so because I was setting my health before I spawned.