26.09.2012, 03:05
Me ayudan gente con esto?
Код:
.pwn(10650) : warning 219: local variable "Texto" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
pawn Код:
public OnPlayerHackDialog(playerid, dialogid, dialoghackedid)
{
new Menu[1024];
new Nombre[MAX_PLAYER_NAME];
new Texto[256];//ESTA ES LA LINEA DEL ERROR
Menu[0]='\0';
strcat(Menu, "{FFFFFF} Expulsado por posible intento de Dialog Hack. \n", 1024);
ShowPlayerDialog(playerid, 9046, DIALOG_STYLE_MSGBOX, " {FF0000}Advertencia - FireSecurity: ", Menu, "Aceptar", "Cerrar") ;
GetPlayerName(playerid, Nombre, sizeof(Nombre));
format(Texto, sizeof(Texto), "[<!>] %s ha sido expulsado por FireSecurity. Razуn: Posible Dialog Hack.", Nombre);
SendClientMessageToAll(Gris, Texto);
Kick(playerid);
return 1;
}