SA-MP Forums Archive
[Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) (/showthread.php?tid=327426)



[Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - Dark_Max - 21.03.2012

Ola galera,
Bom, eu fiz oque vcs me recomendaram ao fazer meu comando em uma dialog, mas deu o seguinte erro
pawn Код:
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18617) : error 075: input line too long (after substitutions)
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : error 027: invalid character constant
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : error 029: invalid expression, assumed zero
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : error 017: undefined symbol "Carros"
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Linha do erro
pawn Код:
if(listitem == 1) // Item
        {
    ShowPlayerDialog(playerid, CARROS , DIALOG_STYLE_MSGBOX, "\Carros  400 \nBravura  401 \nBuffalo  402 \nPerenniel  404 \nSentinel  405 \nLimo  409 \nManana  410 \nInfernus  411 \nVoodoo  412 \nPony  413 \nCheetah  415 \nAmbulance  416 \nMoonbeam  418 \nEsperanto  419 \nTaxi  420 \nWashington  421 \nBobcat  422 \nSorvete  423 \nBF Injection  424 \nPremier  426 \nEnforcer  427 \nSecuricar  428 \nBanshee  429 \nHotknife  434 \nPrevion  436 \nCabbie  438 \nStallion  439 \nRumpo  440 \nAdmiral  445 \nTurismo  451 \n Solair  458 \nBerkley's RC Van  459 \nPatriot  470 \nPatriot \nHermes  474 \nSabre  475 \nZR-350  477 \nBullet  541", "Confirmar", "Sair");
        }



Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - coringa_smith157 - 21.03.2012

kkkkkkkkkkkkkkkk


Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - BreakDriFT - 21.03.2012

Topo gm
pawn Код:
#define Carros 50 // id 50 caso ja estiver algum com id 50 mude caso contralho ira dar conflito!



Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - Dark_Max - 21.03.2012

Quote:
Originally Posted by [ODS]Break
Посмотреть сообщение
Topo gm
Код:
#define Carros 50 // id 50 caso ja estiver algum com id 50 mude caso contralho ira dar conflito!
Nгo entendi '-'


Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - BreakDriFT - 21.03.2012

Код:
error 017: undefined symbol "Carros"
Porque nao esta definido o Carros ou Seja sem o #define ira da error.


Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - Dark_Max - 21.03.2012

pawn Код:
#define CARROS 1
#define ONIBUS 2
#define CAMINHAO 3
#define HELICOPTEROS 4
#define BARCO 5
#define MOTO 6
#define AVIAO 7
isso aki ta no topo do meu Gm


Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - BreakDriFT - 21.03.2012

Se voce Reparar
no seu gm CARROS ta no comando si nao me engano ne ?

oque voce ta usando esta maiusculo ou seja o do erro e Minusculo
intao coloque no topo do seu gm

assim
pawn Код:
#define CARROS 1
#define ONIBUS 2
#define CAMINHAO 3
#define HELICOPTEROS 4
#define BARCO 5
#define MOTO 6
#define AVIAO 7
#define Carros 8



Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - Dark_Max - 21.03.2012

continua dando o msm erro
pawn Код:
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18617) : error 075: input line too long (after substitutions)
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : error 027: invalid character constant
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : error 029: invalid expression, assumed zero
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : error 017: undefined symbol "Carros"
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(18618) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.



Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - BreakDriFT - 21.03.2012

Manda a Linha 18617 e a 18618


Re: [Ajuda] /carros em dialog (pequeno erro que eu nгo percebi) - Dark_Max - 21.03.2012

pawn Код:
18617 {
    18618 ShowPlayerDialog(playerid, CARROS , DIALOG_STYLE_MSGBOX, "\Carros  400 \nBravura  401 \nBuffalo  402 \nPerenniel  404 \nSentinel  405 \nLimo  409 \nManana  410 \nInfernus  411 \nVoodoo  412 \nPony  413 \nCheetah  415 \nAmbulance  416 \nMoonbeam  418 \nEsperanto  419 \nTaxi  420 \nWashington  421 \nBobcat  422 \nSorvete  423 \nBF Injection  424 \nPremier  426 \nEnforcer  427 \nSecuricar  428 \nBanshee  429 \nHotknife  434 \nPrevion  436 \nCabbie  438 \nStallion  439 \nRumpo  440 \nAdmiral  445 \nTurismo  451 \n Solair  458 \nBerkley's RC Van  459 \nPatriot  470 \nPatriot \nHermes  474 \nSabre  475 \nZR-350  477 \nBullet  541", "Confirmar", "Sair");
Qualquer coisa que eu coloque no lugar de \Carros 400 da undefined symbol