[ajuda]error checkpoints
#1

Esse sгo os erro =

pawn Код:
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(292) : error 001: expected token: "}", but found ")"
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(299) : error 010: invalid function or declaration
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1180) : error 032: array index out of bounds (variable "PointCarteira")
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1181) : error 017: undefined symbol "i"
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1187) : error 032: array index out of bounds (variable "PointCarteira")
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1188) : error 017: undefined symbol "i"
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1194) : error 032: array index out of bounds (variable "PointCarteira")
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1195) : error 017: undefined symbol "i"
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1201) : error 032: array index out of bounds (variable "PointCarteira")
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1202) : error 017: undefined symbol "i"
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1208) : error 032: array index out of bounds (variable "PointCarteira")
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1209) : error 017: undefined symbol "i"
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1215) : error 032: array index out of bounds (variable "PointCarteira")
C:\Users\2248\Desktop\Samp\gamemodes\NovaBase.pwn(1216) : error 017: undefined symbol "i"
pawn Код:
new Float:PointCarteira[7][3] =
{
    {148.8507,-2168.2698,1.3438),
    {139.2712,-2185.3298,1.3438},
    {149.7258,-2199.6924,1.3438},
    {138.8406,-2214.6833,1.3438},
    {148.9574,-2222.3909,1.3438},
    {144.1487,-2250.9331,1.7188},
    {144.2233,-2303.0369,1.3438}
}; //error


    switch(Stats[playerid])
    {
        case 1:
        {
            DisablePlayerRaceCheckpoint(playerid);
            SetPlayerRaceCheckpoint(playerid, 0, PointCarteira[2][1], PointCarteira[2][2], PointCarteira[2][3], PointCarteira[3][1], PointCarteira[3][2], PointCarteira[3][3], 10);
            Stats[i] = 2;
            return 1;
        }
        case 2:
        {
            DisablePlayerRaceCheckpoint(playerid);
            SetPlayerRaceCheckpoint(playerid, 0, PointCarteira[3][1], PointCarteira[3][2], PointCarteira[3][3], PointCarteira[4][1], PointCarteira[4][2], PointCarteira[4][3], 10);
            Stats[i] = 3;
            return 1;
        }
        case 3:
        {
            DisablePlayerRaceCheckpoint(playerid);
            SetPlayerRaceCheckpoint(playerid, 0, PointCarteira[4][1], PointCarteira[4][2], PointCarteira[4][3], PointCarteira[5][1], PointCarteira[5][2], PointCarteira[5][3], 10);
            Stats[i] = 4;
            return 1;
        }
        case 4:
        {
            DisablePlayerRaceCheckpoint(playerid);
            SetPlayerRaceCheckpoint(playerid, 0, PointCarteira[5][1], PointCarteira[5][2], PointCarteira[5][3], PointCarteira[6][1], PointCarteira[6][2], PointCarteira[6][3], 10);
            Stats[i] = 5;
            return 1;
        }
        case 5:
        {
            DisablePlayerRaceCheckpoint(playerid);
            SetPlayerRaceCheckpoint(playerid, 0, PointCarteira[6][1], PointCarteira[6][2], PointCarteira[6][3], PointCarteira[7][1], PointCarteira[7][2], PointCarteira[7][3], 10);
            Stats[i] = 6;
            return 1;
        }
        case 6:
        {
            DisablePlayerRaceCheckpoint(playerid);
            SetPlayerRaceCheckpoint(playerid, 0, PointCarteira[7][1], PointCarteira[7][2], PointCarteira[7][3], PointCarteira[7][1], PointCarteira[7][2], PointCarteira[7][3]-5, 10);
            Stats[i] = 7;
            return 1;
        }
Reply


Messages In This Thread
[ajuda]error checkpoints - by MagneticLove- - 24.03.2012, 00:16
Re: [ajuda]error checkpoints - by histire - 24.03.2012, 00:18
Re: [ajuda]error checkpoints - by MagneticLove- - 24.03.2012, 00:22
Re: [ajuda]error checkpoints - by histire - 24.03.2012, 00:34
Re: [ajuda]error checkpoints - by MagneticLove- - 24.03.2012, 00:39
Re: [ajuda]error checkpoints - by histire - 24.03.2012, 00:43
Re: [ajuda]error checkpoints - by rjjj - 24.03.2012, 00:44
Re: [ajuda]error checkpoints - by MagneticLove- - 24.03.2012, 00:51
Re: [ajuda]error checkpoints - by rjjj - 24.03.2012, 01:07
Re: [ajuda]error checkpoints - by MagneticLove- - 24.03.2012, 01:12

Forum Jump:


Users browsing this thread: 1 Guest(s)