Anti proxy - 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 proxy (
/showthread.php?tid=492842)
Anti proxy -
caption - 05.02.2014
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;
}
Re: Anti proxy -
KhaledElkhourashi - 25.02.2014
Good!