Detect country according IP? - 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: Detect country according IP? (
/showthread.php?tid=195257)
Detect country according IP? -
blackwave - 02.12.2010
Did anyone see it before? how do I do it?
Re: Detect country according IP? -
scripter1 - 02.12.2010
You want this in your script? Or you want to know how to check which country the IP is in?
If you want it in your script, that is not going to happen.
If you want to check the country of the IP, use ******.
Re: Detect country according IP? -
blackwave - 02.12.2010
In my script. But why wont happen? I've seen on a server already. Showed: NAME connected [COUNTRY]
Re: Detect country according IP? -
scripter1 - 02.12.2010
Not sure then. Everybody has a different IP address and a country isn't fixed to one set of IP address. Ex. USA - Only start IP's with 25. UK - Only start IP's with 26.
Re: Detect country according IP? -
Ruffles. - 02.12.2010
I think there was a GeoIP plugin somewhere on the forums. Search it
Re: Detect country according IP? -
blackwave - 02.12.2010
Since I saw a server with it, everything is possible lol
Re: Detect country according IP? -
scripter1 - 02.12.2010
Thanks Stuntkillas. Blackwave if you couldn't find it, heres the link -
http://forum.sa-mp.com/showthread.ph...ighlight=GeoIP Looks GREAT though!
Re: Detect country according IP? -
blackwave - 02.12.2010
I found the underneath this one, because there's no the country BRA (brazil). IT's ok, thanks.
Re: Detect country according IP? -
scripter1 - 02.12.2010
Yeah, the one underneath that one also looks more organized and better.