SA-MP Forums Archive
[Ajuda] Como resolver - 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] Como resolver (/showthread.php?tid=426115)



Como resolver - minimessi10 - 27.03.2013

Como resolvo esses erros

Quote:

C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(6171) : error 017: undefined symbol "file"
C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(6171) : error 017: undefined symbol "file"
C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(6171) : error 029: invalid expression, assumed zero
C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(6171) : fatal error 107: too many error messages on one line

Quote:

format(file, sizeof(file), P_CONTAS, aname);




Re: Como resolver - Rodney Francalim - 27.03.2013

@EDIT

nem vi, vou ver


Re: Como resolver - smiiir - 27.03.2013

PHP код:
new
       
file 100 ],
       
anameMAX_PLAYER_NAME ]




Re: Como resolver - minimessi10 - 28.03.2013

iSmir deu esses warning.

Quote:

C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(18116) : warning 203: symbol is never used: "aname"
C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(18116) : warning 203: symbol is never used: "file"

e nao tem a linha 18116


Re: Como resolver - ViictorDaay- - 28.03.2013

Nгo tem a linha 18116 porque й so um aviso simples isso nгo afeta em nada no cуdigo.

Tambйm poderia ser:
pawn Код:
#define file 100
#define aname max_player_name
So um exemplo