Need help with a command
#7

try this
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;
}
edit: nvm then
Reply


Messages In This Thread
Need help with a command - by Steezy_ - 09.04.2012, 09:55
Re: Need help with a command - by DBan - 09.04.2012, 10:01
Re: Need help with a command - by Steezy_ - 09.04.2012, 10:08
Re: Need help with a command - by DBan - 09.04.2012, 10:09
Re: Need help with a command - by Steezy_ - 09.04.2012, 10:12
Re: Need help with a command - by Steezy_ - 09.04.2012, 10:14
Re: Need help with a command - by emokidx - 09.04.2012, 10:14
Re: Need help with a command - by DBan - 09.04.2012, 10:16
Re: Need help with a command - by Steezy_ - 09.04.2012, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)