[HELP] Good or Stupid way to detect bots?
#1

pawn Код:
//On Top
forward AntiBot();

//OnGameModeInit
SetTimer("AntiBot", 150000, 1);

//Any Where
public AntiBot()
{
    for(new i = 0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(GetPlayerPing(i) < 1)
            {
                new name[MAX_PLAYER_NAME], string[128];
                GetPlayerName(i, name, sizeof(name));
                BanEx(i, "Bot");
            }
        }
    }
}
Reply


Messages In This Thread
[HELP] Good or Stupid way to detect bots? - by Larsey123IsMe - 28.01.2011, 00:10
Re: [HELP] Good or Stupid way to detect bots? - by Calgon - 28.01.2011, 00:29
Re: [HELP] Good or Stupid way to detect bots? - by Larsey123IsMe - 28.01.2011, 00:33
Re: [HELP] Good or Stupid way to detect bots? - by Gabe - 28.01.2011, 00:39
Re: [HELP] Good or Stupid way to detect bots? - by Larsey123IsMe - 28.01.2011, 00:44
Re: [HELP] Good or Stupid way to detect bots? - by Calgon - 28.01.2011, 00:48
Re: [HELP] Good or Stupid way to detect bots? - by Larsey123IsMe - 28.01.2011, 00:51

Forum Jump:


Users browsing this thread: 1 Guest(s)