SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Scripting Help (https://forum.sa-mp.com/forumdisplay.php?f=12)
-   -   Im immortal on my server (https://forum.sa-mp.com/showthread.php?t=676052)

Tudusek 28/05/2020 02:37 PM

Im immortal on my server
 
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?

Kwarde 28/05/2020 02:43 PM

Re: Im immortal on my server
 
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

Tudusek 28/05/2020 02:57 PM

Re: Im immortal on my server
 
Thanks.
It did so because I was setting my health before I spawned.


All times are GMT. The time now is 02:11 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.