SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 03/09/2012, 03:57 PM   #1
felipe_mr
Huge Clucker
 
Join Date: Nov 2011
Posts: 372
Reputation: -4
Default /trancar DP

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 Code:
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 (c) 1997-2006, ITB CompuPhase


4 Errors.

Ajudem PF
__________________


Skype: felipe_mr2
felipe_mr is offline   Reply With Quote
Old 03/09/2012, 03:58 PM   #2
@Riichard
High-roller
 
@Riichard's Avatar
 
Join Date: Feb 2012
Location: Brazil
Posts: 2,325
Reputation: 227
Default Re: /trancar DP

Iréí ver a bola de cristal.
__________________
Style Drift Show 2017
- Em breve!
@Riichard is offline   Reply With Quote
Old 03/09/2012, 03:59 PM   #3
Coreia
Huge Clucker
 
Join Date: Mar 2012
Posts: 398
Reputation: 11
Default Re: /trancar DP

Procura a linha do erro e min passa
__________________
Skype: "joao_mystic" Ativo
Coreia is offline   Reply With Quote
Old 03/09/2012, 04:08 PM   #4
felipe_mr
Huge Clucker
 
Join Date: Nov 2011
Posts: 372
Reputation: -4
Default Re: /trancar DP

O código e o que se encontra no meio
pawn Code:
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);
    }
__________________


Skype: felipe_mr2
felipe_mr is offline   Reply With Quote
Old 03/09/2012, 07:27 PM   #5
matheus280
Big Clucker
 
Join Date: Aug 2012
Posts: 63
Reputation: 1
Default Re: /trancar DP

pawn Code:
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
matheus280 is offline   Reply With Quote
Old 03/09/2012, 07:39 PM   #6
LeLeTe
Huge Clucker
 
LeLeTe's Avatar
 
Join Date: Aug 2010
Location: My PC.
Posts: 244
Reputation: 21
Default Re: /trancar DP

O erro está porquê o trancarportadp do meio está sem o indentificador da array.

Tente isso:
pawn Code:
if(trancouportadp[playerid] == 1);
    {
        trancarportadp[playerid] = 0;
    }

espero ter ajudado.
__________________

Te ajudei? Então me ajude, clique na =)


Skype: gurirapper

Programo PAWN por $. Mais informações, Skype.
LeLeTe is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Trancar GReeN_WOoD Português/Portuguese 6 17/04/2012 03:59 PM
[Ajuda]/Trancar Geo1996 Português/Portuguese 3 04/02/2012 12:34 AM
[AJUDA]/trancar ReDKiiL Português/Portuguese 5 18/11/2011 10:12 AM
/trancar /veiculo trancar etc.. de vip casa tudo bugado histire Português/Portuguese 5 17/07/2011 05:19 PM
[AJUDA] /trancar CaSSCaT Português/Portuguese 3 20/05/2011 08:57 AM


All times are GMT. The time now is 02:18 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.