[Edited] PlayerVariable/PlayerID etc. Errors
#1

pawn Код:
C:\Users\new\Desktop\Server\gamemodes\rrp.pwn(120) : error 017: undefined symbol "playerVariables"
C:\Users\new\Desktop\Server\gamemodes\rrp.pwn(120) : error 017: undefined symbol "playerid"
C:\Users\new\Desktop\Server\gamemodes\rrp.pwn(120) : error 029: invalid expression, assumed zero
C:\Users\new\Desktop\Server\gamemodes\rrp.pwn(120) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
pawn Код:
CMD:accent(id, params[]) {
    if(playerVariables[playerid][pStatus] >= 1) {
        if(!isnull(params)) {
            if(strlen(params) >= 19) {
                SendClientMessage(playerid, COLOR_GREY, "Invalid accent length. Accents can only consist of 1-19 characters.");
            }
            else {
                mysql_real_escape_string(params, playerVariables[playerid][pAccent]);

                format(szMessage, sizeof(szMessage), "You are now speaking in a '%s' accent.", params);
                SendClientMessage(playerid, COLOR_WHITE, szMessage);
            }
        }
        else {
            return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/accent [accent] ('none' to disable)");
        }
    }

    return 1;
How to fix?
Reply


Messages In This Thread
[Edited] PlayerVariable/PlayerID etc. Errors - by |}eath - 17.12.2011, 18:27
Re: PlayerVariable/PlayerID etc. Errors - by sleepysnowflake - 17.12.2011, 18:28
Re: PlayerVariable/PlayerID etc. Errors - by Calgon - 17.12.2011, 18:29
Re: [Edited] PlayerVariable/PlayerID etc. Errors - by |}eath - 17.12.2011, 18:32
Re: [Edited] PlayerVariable/PlayerID etc. Errors - by Calgon - 17.12.2011, 18:40
Re: [Edited] PlayerVariable/PlayerID etc. Errors - by |}eath - 17.12.2011, 18:47
Re: [Edited] PlayerVariable/PlayerID etc. Errors - by Calgon - 17.12.2011, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)