SA-MP Forums Archive
[Ajuda] erro 033 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] erro 033 (/showthread.php?tid=296754)



[Ajuda] erro 033 - kshorro - 12.11.2011

Error

pawn Код:
C:\Users\matheus\Desktop\RACE.pwn(330) : error 033: array must be indexed (variable "-unknown-")
pawn Код:
switch(Points[playerid])
            {
                case 0:
                {
                    DisablePlayerRaceCheckpoint(playerid);
                    SetPlayerRaceCheckpoint(playerid, 0, Points[0][0], Points[0][1], Points[0][2], Points[1][0], Points[1][1], Points[1][2], 10);
                    GameTextForPlayer(playerid, "~n~~g~1 de 8 ~n~Checkpoints", 3000, 3);
                    Race[i] = 1;
                    return 1;
                }
pawn Код:
new Float:Points[8][3] =
{
    {1370.8535,3943.2261,14.5285},
    {1370.1969,3911.3250,27.5285},
    {1014.7350,3989.4849,25.2414},
    {1181.6515,3989.3931,3.9531},
    {1327.4578,3980.3064,29.5285},
    {1520.2579,3975.1262,14.4825},
    {1703.1930,3975.7107,7.4278},
    {1766.2560,3971.6633,10.0454}
};



Re: [aju]error fdp - ViniBorn - 12.11.2011

new Float:Points[8][3] =

switch(Points[playerid])


Nгo faz sentido : )


Re: [aju]error fdp - AppleX - 12.11.2011

pawn Код:
switch(Race[i])