SA-MP Forums Archive
undefined symbol "XA52A2AAA" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: undefined symbol "XA52A2AAA" (/showthread.php?tid=537019)



undefined symbol "XA52A2AAA" - dillo1000 - 13.09.2014

I'm really confused with this one...

Код:
C:\Users\Mike\Desktop\SAMP\gamemodes\bare.pwn(299) : error 029: invalid expression, assumed zero
C:\Users\Mike\Desktop\SAMP\gamemodes\bare.pwn(299) : error 017: undefined symbol "XA52A2AAA"
C:\Users\Mike\Desktop\SAMP\gamemodes\bare.pwn(299) : error 029: invalid expression, assumed zero
C:\Users\Mike\Desktop\SAMP\gamemodes\bare.pwn(299) : fatal error 107: too many error messages on one line
pawn Код:
CMD:vips(playerid, params[])
{
    new adminname[24];
    new string[128];
    SendClientMessage(playerid, COLOR_RED,"Current online VIP's:");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {

        if (IsPlayerConnected(i))
        {

            if(PlayerInfo[i][VipLevel] == 1)
            {

                GetPlayerName(i, adminname, 24);
                format(string,sizeof (str),"%s - Bronze VIP (Level 1)", adminname);
                SendClientMessage(playerid,COLOR_BROWN,string);
            }
            if(PlayerInfo[i][VipLevel] == 2)
            {

                GetPlayerName(i, adminname, 24);
                format(string,sizeof (str),"%s - Silver VIP (Level 2)", adminname);
                SendClientMessage(playerid,COLOR_GREY,string);
            }
            if(PlayerInfo[i][VipLevel] == 3)
            {

                GetPlayerName(i, adminname, 24);
                format(string,sizeof (str),"%s - Gold VIP (Level 3)", adminname);
                SendClientMessage(playerid,COLOR_GOLD,string);
            }

        }
    }
    return 1;
}



Re: undefined symbol "XA52A2AAA" - TheNerka - 13.09.2014

what code is 299?


Re: undefined symbol "XA52A2AAA" - TheSimpleGuy - 13.09.2014

Line 299? Maybe it's on your color defines.


Re: undefined symbol "XA52A2AAA" - dillo1000 - 13.09.2014

Thanks SimpleGuy, sometimes I do wonder about myself...


Re: undefined symbol "XA52A2AAA" - PawnOX - 13.09.2014

define the colors