Need help making a timer.
#5

Quote:
Originally Posted by felipex
Посмотреть сообщение
Код:
if(IsPlayerInRangeOfPoint(playerid, 10.0, x, y, z) &&  PLANESTAGE[playerid] == SFA)
{
new string[64], disable;
format(string, sizeof(string), "Your Passengers Are Boarding The plane(I want to add a 30 second timer ) ",);
SendClientMessage(playerid, COLOR_ORANGE, string);
PLANESTAGE[playerid] = LVB;
SetTimer("disable",20000,20000,true); // 20 second for stop ; Will restart after 20 seconds again; Disable checks after 20sec and re-enable after 20seg, and so over and over.
disable = DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, -1370.4148, -224.8594, 13.8710, 10.0);
GivePlayerMoney(playerid, MONEY_EARNT);
}
They both just crash my pawn
Reply


Messages In This Thread
Need help making a timer. - by Haydz - 14.07.2010, 22:50
Re: Need help making a timer. - by felipex - 14.07.2010, 23:04
Re: Need help making a timer. - by TheInnocentOne - 14.07.2010, 23:08
Re: Need help making a timer. - by felipex - 14.07.2010, 23:13
Re: Need help making a timer. - by Haydz - 14.07.2010, 23:53
Re: Need help making a timer. - by Nimnix - 14.07.2010, 23:55
Re: Need help making a timer. - by Haydz - 14.07.2010, 23:56

Forum Jump:


Users browsing this thread: 1 Guest(s)