SA-MP Forums Archive
[Ajuda] Erro no compiler - 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] Erro no compiler (/showthread.php?tid=424863)



Erro no compiler - minimessi10 - 24.03.2013

Alguem ajuda aqui.

Quote:

C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(1716) : error 017: undefined symbol "tmp"
C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(1717) : error 017: undefined symbol "tmp"
C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(1723) : warning 219: local variable "nome" shadows a variable at a preceding level
C:\Users\Megaware\Documents\BFBC2\• Brasil - Project City RPG [ 0.3x ] ®\gamemodes\GM.pwn(1726) : error 017: undefined symbol "tmp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.




Re: Erro no compiler - Flash92 - 24.03.2013

Postas as Linhas (1716,1717,1723 e a linha 1726).

Senao como quer que ajudemos?


Re: Erro no compiler - minimessi10 - 24.03.2013

Linha 1716 e 1717

Quote:

strmid(tmp, text, 1, strlen(text));

Quote:

if(!strlen(tmp)) {

Linhas 1723 1726

Quote:

new nome[MAX_PLAYER_NAME], str[128];

Quote:

format(str, sizeof(str), "* Admin %s: %s", nome, tmp);




Re: Erro no compiler - Delete_ - 24.03.2013

pawn Код:
new nome[24], tmp[256];