SA-MP Forums Archive
Geo IP Problem - 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: Geo IP Problem (/showthread.php?tid=350825)



Geo IP Problem - ShawnMiller1337 - 13.06.2012

pawn Код:
new country[MAX_COUNTRY_NAME];
        country = GetPlayerCountryName(playerid);
        format(string, sizeof(string), "%s has joined the server from %s.", GetPlayerNameEx(playerid), country);
        SendClientMessageToAll(COLOR_GRAD1, string);
Compiles fine with no errors or warnings but when I go in game the code dosn't work ?


Respuesta: Geo IP Problem - CidadeNovaRP - 13.06.2012

Never I use the Include, try this:
pawn Код:
new ss[128];
format(ss, sizeof(ss), "%s has joined the server from %s.", GetPlayerNameEx(playerid), GetPlayerCountryName(playerid));
SendClientMessageToAll(COLOR_GRAD1, ss);



AW: Geo IP Problem - RPG-Zone - 13.06.2012

What is not working ? It shows nothing if u enter your server ?