One Question
#4

Using a timer for the 30 minutes...

pawn Код:
On top of script
new TIMER_TruckJob[playerid];
new TruckTimer[playerid];

On the cmd add:

if(TruckTimer == 0)

Under on player enter checkpoint:

TIMER_TruckJob[playerid] = SetTimerEx("TruckJob", 30000, false, "i", playerid);
TruckTimer[playerid] = 1;

forward TruckJob(playerid);
public TruckJob(playerid)
{
    TruckTimer[playerid] = 0;
    KillTimer(TIMER_TuckJob[playerid]);
}
Reply


Messages In This Thread
One Question - by Yordan_Kronos - 07.06.2012, 17:39
Re: One Question - by Yordan_Kronos - 07.06.2012, 18:28
Re: One Question - by zDevon - 07.06.2012, 18:31
Re: One Question - by ricardo178 - 07.06.2012, 18:34
Re: One Question - by Yordan_Kronos - 07.06.2012, 19:47
Re: One Question - by Yordan_Kronos - 07.06.2012, 20:27
Re: One Question - by JhnzRep - 07.06.2012, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)