Is there..
#6

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
Reply


Messages In This Thread
Is there.. - by Jack_Blade - 26.12.2010, 15:25
Re: Is there.. - by Jack_Blade - 26.12.2010, 16:13
Re: Is there.. - by Leeroy. - 26.12.2010, 16:15
Re: Is there.. - by TouR - 26.12.2010, 16:17
Re: Is there.. - by Mean - 26.12.2010, 16:38
Re: Is there.. - by admantis - 26.12.2010, 21:43
Re: Is there.. - by Mean - 27.12.2010, 09:36

Forum Jump:


Users browsing this thread: 2 Guest(s)