12.11.2011, 21:23
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}
};