[AJUDA]Bad rcon BAN
#9

Filho Player BOBO й aquele que nгo conhece /rcon
quem conhece rcon sabe que nгo deve nem tentar pois se certamente esta tentando й que esta tentando algo

Agora й Apуs 3 x

pawn Код:
new PassWarnings[ MAX_PLAYERS ] = { 0, ... };

public OnRconLoginAttempt(ip[], password[], success)
{
  if(!success)
  {
    printf("Login Errado do IP %s Usando Senha %s",ip, password);
    new pip[16];
    for(new i=0; i<MAX_PLAYERS; i++)
    {
      GetPlayerIp(i, pip, sizeof(pip));
      if(!strcmp(ip, pip, true))
      {
        SendClientMessage(i, 0xFFFFFFFF, "Senha Errada"); //Envia Mensagem
        ++PassWarnings[ i ];
        if( PassWarnings[ i ] == 3 ) {
          PassWarnings[ i ] = 0;
         Kick(i); //Kicka o Player Caso queira Banir Ban(i);
        }
      }
    }
  }
  return 1;
}
Reply


Messages In This Thread
[AJUDA]Bad rcon BAN - by Brunow - 18.04.2010, 14:46
Re: [AJUDA]Bad rcon BAN - by ipsBruno - 18.04.2010, 14:50
Re: [AJUDA]Bad rcon BAN - by Brunow - 18.04.2010, 14:55
Re: [AJUDA]Bad rcon BAN - by andmeida10 - 18.04.2010, 14:59
Re: [AJUDA]Bad rcon BAN - by ipsBruno - 18.04.2010, 15:07
Re: [AJUDA]Bad rcon BAN - by Brunow - 18.04.2010, 15:08
Re: [AJUDA]Bad rcon BAN - by ipsBruno - 18.04.2010, 15:12
Re: [AJUDA]Bad rcon BAN - by Brunow - 18.04.2010, 15:24
Re: [AJUDA]Bad rcon BAN - by ipsBruno - 18.04.2010, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)