Ayuda ERROR CRITICO Urgente !
#6

el rcon 0 no desactiva la entrada por medio de rcon, y lo otro es muy facil ve a OnRconLoginAttempt luego pones esto:

pawn Код:
Intentos[playerid] = 0;// al inicio del GM

public OnRconLoginAttempt(ip[], password[], success)
{
if(!succes)
{
printf("Rcon login fallido de la IP %s usando la contraseсa: %s ",ip, password)
for(new i=0; i<MAX_PLAYERS; i++) {
     SendClientMessage(i, Color,"Contraseсa incorrecta le queda 1 intento mбs, si falla su IP sera baneada");
     Intentos[i] ++;
     if(Intentos[i] == 1) { Ban(i); }
}// No lo he testeado lo acabe de hacer, pero deberia funcionar.
Mas informacion aqui: https://sampwiki.blast.hk/wiki/OnRconLoginAttempt
Reply


Messages In This Thread
Ayuda ERROR CRITICO Urgente ! - by TiNcH010 - 15.02.2011, 23:05
Respuesta: Ayuda ERROR CRITICO Urgente ! - by benjas09 - 16.02.2011, 00:14
Re: Ayuda ERROR CRITICO Urgente ! - by admantis - 16.02.2011, 00:37
Re: Respuesta: Ayuda ERROR CRITICO Urgente ! - by TiNcH010 - 16.02.2011, 00:37
Respuesta: Ayuda ERROR CRITICO Urgente ! - by Jovanny - 16.02.2011, 00:40
Re: Ayuda ERROR CRITICO Urgente ! - by SeQualX - 16.02.2011, 01:00
Re: Ayuda ERROR CRITICO Urgente ! - by TiNcH010 - 16.02.2011, 23:12
Respuesta: Ayuda ERROR CRITICO Urgente ! - by leaNN! - 16.02.2011, 23:56
Re: Respuesta: Ayuda ERROR CRITICO Urgente ! - by TiNcH010 - 17.02.2011, 00:46
Respuesta: Ayuda ERROR CRITICO Urgente ! - by leaNN! - 17.02.2011, 01:04

Forum Jump:


Users browsing this thread: 1 Guest(s)