Alguem me ajuda
#1

to com esse problema alguem ajuda
e se eu excluo esse comando ele compila normal


Quote:

264-CMD:banir(playerid, params[]);
265 {
266 new id, motivo[128], string[128], snd[MAX_PLAYER_NAME], pAdmin[MAX_PLAYER_NAME];
267 if(Admin[playerid] == 0 ) return SendClientMessage(playerid, vermelho, "Vocк nгo й Administrador!");
268 if(sscanf(params, "us", id, motivo)) return SendClientMessage(playerid, vermelho, "Use: /banir [id] [motivo]")
269 GetPlayerName(id, snd, sizeof snd);
270 GetPlayerName(playerid, pAdmin, sizeof pAdmin);
271 format(string, sizeof string, ">> O Administrador %s baniu o player %s pelo motivo:", pAdmin, snd);
272 SendClientMessageToAll(azul, string);
273 Ban(id);
274 return 1;
275 }

Quote:

C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\pawno\include\sscanf2.inc(336) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\pawno\include\sscanf2.inc(336) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\pawno\include\sscanf2.inc(396) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\pawno\include\sscanf2.inc(396) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\pawno\include\DOF2.inc(1283) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\pawno\include\DOF2.inc(1314) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\pawno\include\DOF2.inc(1337) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(56) : warning 219: local variable "snd" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(253) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(253) : warning 219: local variable "motivo" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(253) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(253) : warning 219: local variable "snd" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(253) : warning 219: local variable "pAdmin" shadows a variable at a preceding level
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(265) : error 055: start of function body without function header
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(267) : error 010: invalid function or declaration
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(26 : error 010: invalid function or declaration
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(274) : error 010: invalid function or declaration
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(281) : warning 203: symbol is never used: "id"
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(281) : warning 203: symbol is never used: "motivo"
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(281) : warning 203: symbol is never used: "pAdmin"
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(281) : warning 203: symbol is never used: "snd"
C:\Users\LuizZ\Desktop\samp037_svr_R2-1-1_win32\gamemodes\BVF.pwn(281) : warning 203: symbol is never used: "string"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Reply


Messages In This Thread
Alguem me ajuda - by LuizZ14 - 10.02.2017, 20:03
Re: Alguem me ajuda - by johntrybescripter - 10.02.2017, 20:14
Re: Alguem me ajuda - by Cheleber_Pausini - 10.02.2017, 20:15
Re: Alguem me ajuda - by PesadaO - 10.02.2017, 20:55
Re: Alguem me ajuda - by CatuabaSelvagem - 10.02.2017, 21:03
Re: Alguem me ajuda - by 1sbedx - 10.02.2017, 21:48

Forum Jump:


Users browsing this thread: 3 Guest(s)