[HELP]Disease(losing 10 hp every 10 secs)
#9

pawn Код:
SetPlayerHealth(playerid, -10.0);
isn't it setting players health to -10? That means player will die instantly.

I suggest this:

pawn Код:
new Float:health;
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health - 10);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)