[Help] : error 010: invalid function or declaration
#5

Is it like this?
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/acords", cmdtext, true) == 0) // it's not 10 lenght...
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pAdmin] >= 3)
            {
                SendClientMessage(playerid, COLOR_WHITE, "Cordinates Menu [/gotoco]");
                SendClientMessage(playerid, COLOR_WHITE, "Gotham City: 2203.3160 -5787.8170 13.3400 360.0000");
                return 1;
            }
        }
    }
    // more commands
    return 0;
}
And please show us the line the error comes from.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)