[Ajuda] Erro no compiler
#1

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.

Reply
#2

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

Senao como quer que ajudemos?
Reply
#3

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);

Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)