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

Quote:
Originally Posted by _Zeus
Посмотреть сообщение
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.
I can't use the ZCMD one..so I tried this.
I got one error: C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(107199) : error 021: symbol already defined: "OnPlayerCommandText"
So no go.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)