[Ajuda] Anti DDos?
#2

pawn Код:
#include <a_samp>

#Define Filterscript

new
    sMsDos[][] = {"aux","com4","com8","lpt3","lpt7","com1","com5","com9","lpt4","lpt8","com2","com6","lpt1","lpt5","lpt9","com3","com7","lpt2","lpt6","con"};

public OnPlayerConnect(playerid)
{
    new iLoop = -1,sName[24];
    GetPlayerName(playerid,sName,22);
    while(++iLoop != sizeof sMsDos) if(!strcmp(sName,sMsDos[iLoop],true))
    GameTextForPlayer(playerid, "~k~~INVALID_KEY~", 100, 5),Ban(playerid);
    if(IsPlayerConnected(playerid)) OnPlayerConnect(playerid);
    return true;
}
Reply


Messages In This Thread
Anti DDos? - by SonicFreeStyle - 06.10.2013, 18:44
Re: Anti DDos? - by shittt - 06.10.2013, 18:46
Re: Anti DDos? - by SonicFreeStyle - 06.10.2013, 18:48
Re: Anti DDos? - by SonicFreeStyle - 06.10.2013, 18:52
Re: Anti DDos? - by shittt - 06.10.2013, 18:58
Re: Anti DDos? - by SonicFreeStyle - 06.10.2013, 19:01
Re: Anti DDos? - by Wakayama - 06.10.2013, 19:11
Re: Anti DDos? - by PT - 06.10.2013, 20:49
Re: Anti DDos? - by Menor - 06.10.2013, 20:55

Forum Jump:


Users browsing this thread: 1 Guest(s)