timer after command
#2

pawn Code:
new Temp[MAX_PLAYERS];

//OnPlayerConnect:
Temp[playerid] = 0;

//Begin the command
if(gettime() - Temp[playerid] < 20)  return SendClientMessage(playerid, 0xFF0000FF, "Wait time is up");
Temp[playerid] = gettime();



change the 20 to the value you want
Reply


Messages In This Thread
timer after command - by kingcrome - 16.11.2013, 19:30
Re: timer after command - by Diogo123 - 16.11.2013, 19:35
AW: timer after command - by Skimmer - 16.11.2013, 19:37

Forum Jump:


Users browsing this thread: 2 Guest(s)