SA-MP Forums Archive
Check the country of an 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: Check the country of an ip? (/showthread.php?tid=131127)



Check the country of an ip? - bajskorv123 - 01.03.2010

Hey
I'm wondering if theres any function or something (Like getplayerip) that returns the players country?

Heres an example:
pawn Код:
[NWA]Hannes has joined the server! [IP: 85.226.67.5] [Country: Sweden]
If needed i have already made a part of it, just need part that returns country.
>> Pastebin <<


Re: Check the country of an ip? - Correlli - 01.03.2010

Use the GEO-IP plugin or filterscript, you can find it on this forum.


Re: Check the country of an ip? - Fj0rtizFredde - 01.03.2010

There is this plugin: http://forum.sa-mp.com/index.php?topic=49875.0 but also this FS: http://forum.sa-mp.com/index.php?topic=110829.0 Maybe you could get some ideas of how to use it from one of the links? :P


Re: Check the country of an ip? - bajskorv123 - 01.03.2010

Thanks. (Tackar )
I'll cya around. (Cha cha )