[Ajuda] /trancar DP
#1

Ola preciso de uma pequena ajuda para editar ou arrumar esse cуdigo nгo sei porque nгo esta funcionando, lembrando que e baixado da net e tentei colocar no meu GM o sistema e de arrombar DP mas esta dando esse erro olhem:

pawn Код:
C:\Documents and Settings\familia mr\Desktop\'\TunningLife\gamemodes\BTLl.pwn(11721) : error 028: invalid subscript (not an array or too many subscripts): "trancouportadp"
C:\Documents and Settings\familia mr\Desktop\'\TunningLife\gamemodes\BTLl.pwn(11721) : warning 215: expression has no effect
C:\Documents and Settings\familia mr\Desktop\'\TunningLife\gamemodes\BTLl.pwn(11721) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\familia mr\Desktop\'\TunningLife\gamemodes\BTLl.pwn(11721) : error 029: invalid expression, assumed zero
C:\Documents and Settings\familia mr\Desktop\'\TunningLife\gamemodes\BTLl.pwn(11721) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Ajudem PF
Reply
#2

Irйн ver a bola de cristal.
Reply
#3

Procura a linha do erro e min passa
Reply
#4

O cуdigo e o que se encontra no meio
pawn Код:
if(HireCar[playerid] > 0)
    {
        VTrancado[HireCar[playerid]] = 0;
        UnLockCar(HireCar[playerid]);
        SetVehicleToRespawn(HireCar[playerid]);
        HireCar[playerid] = 0;
    }
    if(trancouportadp[playerid] == 1)
    {
        trancarportadp = 0;
    }
    if (PlayerInfo[playerid][pBarraca] != 0)
    {
        RemoveBarraca(playerid);
    }
Reply
#5

pawn Код:
if(HireCar[playerid] > 0);
    {
        VTrancado(HireCar[playerid]) == 0;
        UnLockCar(HireCar[playerid]);
        SetVehicleToRespawn(HireCar[playerid]);
        HireCar[playerid] = 0;
    }
    if(trancouportadp[playerid] == 1);
    {
        trancarportadp = 0;
    }
    if (PlayerInfo[playerid][pBarraca] != 0);
    {
        RemoveBarraca(playerid);
    }
tenta isso
Reply
#6

O erro estб porquк o trancarportadp do meio estб sem o indentificador da array.

Tente isso:
pawn Код:
if(trancouportadp[playerid] == 1);
    {
        trancarportadp[playerid] = 0;
    }
espero ter ajudado.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)