[Ajuda] RCON ATTEMPT
#2

Quem errar so 1 letra jб e ban
Код:
public OnRconLoginAttempt(ip[], password[], success)
{
		printf("FAILED RCON LOGIN BY IP %s USING PASSWORD %s",ip, password);
        new pip[16];
        new otario[32];
        for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
        {
            GetPlayerIp(i, pip, sizeof(pip));
            if(!strcmp(ip, pip, true)) //If a player's IP is the IP that failed the login
            {
                SendClientMessage(i, 0xFFFFFFFF, "Senha errada"); //Send a message
                GetPlayerName(i, otario, sizeof(otario));
                Ban(i); //They are now banned.
            }
        }
        new str[128];
        format(str, sizeof(str), "%s Foi banido por tentar se logar na RCON", otario);
        SendClientMessageToAll(0xF10000FF, str);
            }
return 1;}
Reply


Messages In This Thread
RCON ATTEMPT - by _Play_ - 24.09.2014, 02:21
Re: RCON ATTEMPT - by SatanMessenger - 24.09.2014, 02:43
Re: RCON ATTEMPT - by alanbastos2010 - 24.09.2014, 02:47
Re: RCON ATTEMPT - by _Play_ - 24.09.2014, 03:03
Re: RCON ATTEMPT - by MTCpyedroDN - 24.09.2014, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)