[Ajuda] /carros em dialog (pequeno erro que eu nгo percebi)
#1

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");
        }
Reply
#2

kkkkkkkkkkkkkkkk
Reply
#3

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

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 '-'
Reply
#5

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

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
Reply
#7

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
Reply
#8

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.
Reply
#9

Manda a Linha 18617 e a 18618
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)