[FilterScript] Simple anti Bot's System
#1

as we know , the bot's have a high ping that's why i'm sharing this simple work
the FS just kick player have more then 1000 ping
pawn Код:
#include <a_samp>

    forward antibot(playerid);

    #pragma tabsize 0

    #if defined FILTERSCRIPT

    public OnFilterScriptInit()
    {
            print("\n-------------------------------------------------");
            print("  Anti Bot system ");
            print("  by Mr.West");
            print("--------------------------------------------------\n");
            return 1;
    }

    #else

    #endif

    public antibot(playerid)
    {
    if(GetPlayerPing(playerid) > 1000)
            SendClientMessage(playerid,-1 ,"you have been kicked , you can be a Bot!");
            Kick(playerid);
    }
Reply


Messages In This Thread
Simple anti Bot's System - by Robert West - 09.07.2012, 07:00
Re: Simple anti Bot's System - by $mooth - 22.07.2012, 16:13
Re: Simple anti Bot's System - by mrsamp - 22.07.2012, 22:01
Re: Simple anti Bot's System - by Popz - 31.08.2012, 12:25
AW: Simple anti Bot's System - by BiosMarcel - 31.08.2012, 12:56
AW: Simple anti Bot's System - by Mellnik - 31.08.2012, 13:05
Re: Simple anti Bot's System - by Emmet_ - 31.08.2012, 13:10
Re: Simple anti Bot's System - by Dan. - 31.08.2012, 13:13
AW: Simple anti Bot's System - by BiosMarcel - 31.08.2012, 13:48
AW: Simple anti Bot's System - by Mellnik - 31.08.2012, 13:56

Forum Jump:


Users browsing this thread: 3 Guest(s)