26.12.2010, 15:25
Is there a hunger filterscript with %, and with textdraw, i've searched, but no results-.-
//Top of script
forward HungerTimer(playerid, Float:health);
public OnPlayerSpawn(playerid)
{
SetTimerEx("HungerTimer", 10000, 1, "i", playerid);
return 1;
}
public HungerTimer(playerid, Float:health)
{
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health - 5);
return 1;
}
pawn Код:
pawn Код:
pawn Код:
|