09.04.2012, 10:14
try this
edit: nvm then
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/launch", true, 10)==0)
{
if(launched[playerid] == true)
{
SendClientMessage(playerid, 0xFFFFFFAA, "The command was already launched, wait 2 min");
}
else
{
SetTimer("reload", 120000, 0);
SetTimer("boom", 4000, 0);
SetTimer("tre", 3000, 0);
SetTimer("two", 2000, 0);
SetTimer("one", 1000, 0);
launched[playerid] = true;
}
return 1;
}
return 0;
}