Not dying.
#1

I'm running a plain gamemode but when a player dies or gets selected in a team without dying (using spawnplayer function), but the health bar is 0.0 (float) flashing but they don't die.

Example would be

Код:
 
First hp before death

--------------------

Death

None in the bar but player does not respawn
EDIT: got a picture,

Reply
#2

Try to put this code somewhere in your script. I cant tell you where at this.moment but try it out.
pawn Код:
if(GetPlayerHealth(playerid) <= 1.0)) return SetPlayerHealth(playerid,-1.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)