how to use these ? - 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: how to use these ? (
/showthread.php?tid=620052)
how to use these ? -
bugmenotlol - 25.10.2016
https://sampforum.blast.hk/showthread.php?tid=190699
i need to get this geoip to my server but prob is i cant understand how to use
i want to use it here
Код:
new login[156];
format(login, sizeof(login), "{00FF00}%s(%d) {FFFFFF}has Connected to the server from %s.", PlayerName(playerid), playerid);
Re: how to use these ? -
ThatFag - 25.10.2016
Код:
new login[156];
format(login, sizeof(login), "{00FF00}%s(%d) {FFFFFF}has Connected to the server from %s.", PlayerName(playerid), playerid,GetPlayerCountryName( playerid ));
make sure u have the geoip.inc included
That will get player's country.