17.07.2011, 00:23
Just like dowster said. You can use GetTime,timer.
You have to make a boolean that check if it's already 10 minutes or not.
You have to make a boolean that check if it's already 10 minutes or not.
pawn Код:
new bool:already[MAX_PLAYERS]
forward enough(playerid);
CMD:blow(playerid,params[])
{
if(already[playerid] == false) return SendClientMessage(playerid,somecolor,"You have to wait 10 minutes");
CreateExplosion(...............);//Just like what Nero_3D said.
already[playerid] = true;
SetTimerEx("enough",600000,0,"d",playerid);
return 1;
}
public enough(playerid)
{
already[playerid] = false;
return 1;
}