Hunger system for NG:RP edit script
#6

Can someone help me setup this code?

pawn Код:
forward Hunger(playerid);
public Hunger(playerid)
{
    SetPlayerHealth(playerid, GetPlayerHealth(playerid) --);
}

public OnPlayerSpawn(playerid)
{
    SetTimerEx("Hunger", 120000, true, "i", playerid); // sets the timer of hunger for every 2 minutes, the word true is the repeat value, and we forwaded the playerid
    return 1;
}
I mean, I need someone to fix the codes and send it back to me
Reply


Messages In This Thread
Hunger system for NG:RP edit script - by DouglasRamirez - 06.10.2013, 12:20
Re: Hunger system for NG:RP edit script - by DanishHaq - 06.10.2013, 12:25
Re: Hunger system for NG:RP edit script - by DouglasRamirez - 06.10.2013, 12:29
Re: Hunger system for NG:RP edit script - by nguyenquynh - 06.10.2013, 12:52
Re: Hunger system for NG:RP edit script - by DouglasRamirez - 06.10.2013, 14:26
Re: Hunger system for NG:RP edit script - by DouglasRamirez - 08.10.2013, 06:20

Forum Jump:


Users browsing this thread: 1 Guest(s)