SA-MP Forums Archive
Anti Bots Hack! (+REP) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti Bots Hack! (+REP) (/showthread.php?tid=333144)



Anti Bots Hack! (+REP) - James Coral - 10.04.2012

Can Enyone tell me where i can find Anti Bots Hack?

I used search but i didnt find it

enyone?


Re: Anti Bots Hack! (+REP) - Ironboy - 10.04.2012

Check it out http://forum.sa-mp.com/showthread.ph...light=anti+bot


Re: Anti Bots Hack! (+REP) - lekizinho - 10.04.2012

Код:
new AntiBot[][] =
    {
        "con.",
        "com1",
        "com2",
        "com3",
        "com4",
        "com5",
        "com6",
        "com7",
        "com8",
        "com9",
        "lpt1",
        "lpt2",
        "lpt3",
        "lpt4",
        "lpt5",
        "lpt6",
        "lpt7",
        "lpt8",
        "lpt9",
        "nul",
        "clock$",
        "aux",
        "prn",
        "con",
        "Carl",  
};



//On PlayerConnect.

new guysname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, guysname, sizeof(guysname));
    for(new n; n < sizeof(AntiBot); ++n)
    {
        if(!strcmp(guysname, AntiBot[n], true))
        {
            BanEx(playerid, "Trying to Nuke huh'?.");
            return 1;
        }
    }