Quote:
Originally Posted by bytytus
pawn Код:
public OnRconLoginAttempt(ip[], password[], success) { new pip[16], Nombre[MAX_PLAYER_NAME]; for(new i=0; i<MAX_PLAYERS; i++) { GetPlayerName(i,Nombre,sizeof(Nombre)); GetPlayerIp(i, pip, sizeof(pip)); if(!strcmp(ip, pip, true)) { SendClientMessage(i, 0xFFFFFFFF, " "); SendClientMessage(i, 0xFFFFFFFF, "Has sido {FF0000}expulsado {FFFFFF}por intentar acceder como administrador RCON."); GameTextForPlayer(i, "/w/ANTI RCON LOGIN", 10000, 3); TogglePlayerControllable(i, false); } //te faltaba cerrar la llave } return 1; //y esto lo tenias al final }
Traduccion del Error:
sentencia compuesta no se cierra al final del archivo (iniciada en la lнnea 2526
|
hey ayudame ahora con este
PHP код:
error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.