About exsplosives
#5

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.
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;
}
Reply


Messages In This Thread
About exsplosives - by Setkus - 16.07.2011, 17:13
Re: About exsplosives - by dowster - 16.07.2011, 17:40
AW: About exsplosives - by Nero_3D - 16.07.2011, 18:17
Re: About exsplosives - by Setkus - 16.07.2011, 20:40
Re: About exsplosives - by =WoR=Varth - 17.07.2011, 00:23
Re: About exsplosives - by dowster - 17.07.2011, 02:05
Re: About exsplosives - by Setkus - 17.07.2011, 09:15

Forum Jump:


Users browsing this thread: 1 Guest(s)