Multiple errors through out commands..
#1

pawn Код:
CMD:gmx(playerid, params[]);
{ //1643
    if(MasterAccount[playerid][mSuperAdmin] || Character[playerid][cAdminLevel] >= 6)
    {
        SendRconCommand("gmx");
    }
    else return SendClientMessage(playerid, COLOR_DARKGREY, AdminOnly);

}

CMD:a(playerid, params[]);
{ //1653
    if(MasterAccount[playerid][mSuperAdmin] || Character[playerid][cAdminLevel] >= 1)
    {
        new string[126];
        if(isnull (params))
            return SendClientMessage(playerid, COLOR_DARKGREY, "Usage: /a [Text]");
           
        format(string, sizeof(string), "%s (%s): %s", cName(playerid, Character[cAdminLevel], params);
    }
    else return SendClientMessage(platerid, COLOR_DARKGREY, AdminOnly);
    return 1;
}
pawn Код:
(1643) : error 055: start of function body without function header
(1644) : error 010: invalid function or declaration
(1648) : error 010: invalid function or declaration
(1650) : error 054: unmatched closing brace ("}")
(1653) : error 055: start of function body without function header
(1654) : error 010: invalid function or declaration
(1657) : error 010: invalid function or declaration
(1658) : error 010: invalid function or declaration
(1660) : error 021: symbol already defined: "format"
(1662) : error 010: invalid function or declaration
(1663) : error 010: invalid function or declaration

Help, I have no idea what these are D:
Reply
#2

I fixed it, sorry.
Reply
#3

Remove the semicolon from these:
pawn Код:
CMD:gmx(playerid, params[]);
// and
CMD:a(playerid, params[]);
EDIT: Oh, you just got it fixed.
Reply
#4

EDIT: you fixed it so
Reply


Forum Jump:


Users browsing this thread: