Anti proxy
#1

hello people!
I have an "anti hotspot shield"
one player enters host "hotspot shield"
he did not banish someone help me with this code

Code:
public OnPlayerConnect(playerid)
{
	GetPlayerHost(playerid);
	return 1;
}

public OnReverseDNS(ip[], host[], extra)
{
        if(strfind(host,"anchorfree.com", true) != -1) return BanEx(extra,"PROXY");// the ban show in ban.samp
        return 1;
}
Reply
#2

Good!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)