Something gone wrong :S
#2

pawn Код:
//
//
#define FILTERSCRIPT

#include <a_samp>
#define GREEN 0x33AA33AA
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Anti Bot loaded");
    print("--------------------------------------\n");
    return 1;
}
public OnPlayerConnect(playerid)
{
    new pIP[16];
    GetPlayerIp(playerid,pIP,16);
    if(IsPlayerNPC(playerid))
    {
        if(strcmp(pIP,"127.0.0.1",false))
        {

        }
        else
        {
            Ban(playerid);
        }
    }
    return 1;
}
stock GetPlayerIPEx(playerid)
{
    new IP[15];//Is it 16 :O
    GetPlayerIp(playerid, IP, 15);
    return IP;
}
#endif
Reply


Messages In This Thread
Something gone wrong :S - by Audi_Quattrix - 07.07.2012, 09:56
Re: Something gone wrong :S - by zombieking - 07.07.2012, 10:01

Forum Jump:


Users browsing this thread: 1 Guest(s)