[Ajuda] Alguns Erros
#1

;-; bem estava fazendo uma rota de fazendeiro no gm qnd deu alguns erros que estб praticamente impossнvel de eu resolver

se alguem souber o(a) erro/soluзгo por favor comenta!

Erros:
PHP код:
C:\Users\GabrielMT\Desktop\GabrielMT\r2\gamemodes\GM.pwn(34273) : error 028invalid subscript (not an array or too many subscripts): "Combustivel"
C:\Users\GabrielMT\Desktop\GabrielMT\r2\gamemodes\GM.pwn(34273) : warning 215expression has no effect
C
:\Users\GabrielMT\Desktop\GabrielMT\r2\gamemodes\GM.pwn(34273) : error 001expected token";"but found "]"
C:\Users\GabrielMT\Desktop\GabrielMT\r2\gamemodes\GM.pwn(34273) : error 029invalid expressionassumed zero
C
:\Users\GabrielMT\Desktop\GabrielMT\r2\gamemodes\GM.pwn(34273) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Linhas:
PHP код:
    //=============[FAZENDEIROS]===================//
       
if(IniciarColheita[playerid] == 1)
    {
         new 
carroid GetPlayerVehicleID(playerid);
        new 
oo GetVehicleModel(carroid);
        if(
oo == 532)
        {
               if(
PlayerToPoint(10,playerid1916.8585,207.9083,31.7969))
             {
                
DisablePlayerRaceCheckpoint(playerid);
                
SetPlayerRaceCheckpoint(playerid,01922.2612,229.4041,28.88361942.2209,232.3444,28.853510.0);
                
Combustivel[carroid] = 100// 34273
                
PlayerPlaySound(playerid11490.00.00.0);
                
IniciarColheita[playerid] = 2;
            }
        }
    }
    if(
IniciarColheita[playerid] == 2)
etc ... 
Reply
#2

Combustivel foi declarado de que forma?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)