Whats wrong with this script?
#7

pawn Код:
if (strcmp(cmdtext, "/agateo", true)== 0)
{
    if(AccountInfo[playerid][aLevel] < 0) SendClientMessage(playerid, COLOR_RED, "You need to be a Helper to use the gate command!");
    {
        MoveObject(agate,-1470.45617676,2611.21215820,50);
        SendClientMessage(playerid, COLOR_YELLOW, "You open the admin gates!");
        {
            if (strcmp(cmdtext, "/agatec", true)== 0) {
                if(AccountInfo[playerid][aLevel] < 0) SendClientMessage(playerid, COLOR_RED, "You need to be a Helper to use the gate command!");
                {
                    MoveObject(agate,-1470.45617676,2611.21215820,59.36460876);
                    SendClientMessage(playerid, COLOR_YELLOW, "You close the admin gates!");
                }
Try that.
Reply


Messages In This Thread
Whats wrong with this script? - by patfay - 29.01.2011, 22:51
Re: Whats wrong with this script? - by Conroy - 29.01.2011, 22:56
Re: Whats wrong with this script? - by bartje01 - 29.01.2011, 22:57
Re: Whats wrong with this script? - by bartje01 - 29.01.2011, 23:16
Re: Whats wrong with this script? - by patfay - 29.01.2011, 23:19
Re: Whats wrong with this script? - by bartje01 - 29.01.2011, 23:29
Re: Whats wrong with this script? - by SchurmanCQC - 29.01.2011, 23:33
Re: Whats wrong with this script? - by patfay - 30.01.2011, 01:26

Forum Jump:


Users browsing this thread: 2 Guest(s)