Country Ban - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Country Ban (
/showthread.php?tid=253524)
Country Ban -
Face9000 - 06.05.2011
Hi all,it's possible to script a Country ban?How?
Thanks.
Re: Country Ban -
SchurmanCQC - 06.05.2011
You could use GeoIP, so if anyone connects thats in a country not wanted, it would ban them.
Re: Country Ban -
Face9000 - 06.05.2011
I already use GeoIP but how i can know a specific ip of country?
Re: Country Ban -
SchurmanCQC - 06.05.2011
pawn Код:
GetCountryName(const ipaddress[], country[], size = sizeof country);