Quote:
Originally Posted by Mean
pawn Код:
//Top of script forward HungerTimer(playerid, Float:health);
then
pawn Код:
public OnPlayerSpawn(playerid) { SetTimerEx("HungerTimer", 10000, 1, "i", playerid); return 1; }
then...
pawn Код:
public HungerTimer(playerid, Float:health) { GetPlayerHealth(playerid, health); SetPlayerHealth(playerid, health - 5); return 1; }
Not what you wanted, but this FS takes a player 5 HP every 10 seconds, so he dies when he looses all HP
|
this only will force the player to go to burgershot every 60 seconds lol