SA-MP Forums Archive
you know how to do this? - 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: you know how to do this? (/showthread.php?tid=82466)



you know how to do this? - Serediucr - 18.06.2009

how to display country of player when connects?


Re: you know how to do this? - [nl]daplayer - 18.06.2009

Quote:
Originally Posted by Serediucr
how to display country of player when connects?
There is a GEOIP Plugin, there you can recieve country code, and country name by ip address.
and ip address of a player is easy to get with:
pawn Код:
new ip[16]; // 16 = max len ip
GetPlayerIpAddress(playerid, ip, 16);
// ip = user ip address