SA-MP Forums Archive
need help - 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: need help (/showthread.php?tid=640185)



need help - GoldenMan - 29.08.2017

Код:
[18:26:41] [GoldenScripter] Has Joined The Server | [IP: [Hidden]] | [Country:Unknown] | [City: Unknown]
pls help its not showing Country And City

Код:
    //Connect With IP Country City
    GetPlayerCountry(playerid, Country, sizeof(Country));
    GetPlayerCity(playerid,City, sizeof(City));
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid, plip, sizeof(plip));
    format(connected,sizeof(connected),"[%s] Has Joined The Server | [IP: %s] | [Country:%s] | [City: %s]",plname,plip,Country,City);
    SendClientMessageToAll(COLOR_GREEN,connected);
using this code pls help me


Re: need help - Vince - 29.08.2017

This piece of code is all but useless in determining the source of the problem. Show the actual contents of these functions. Or ask in the topic where you got it from.


Re: need help - GoldenMan - 29.08.2017

Quote:
Originally Posted by Vince
Посмотреть сообщение
This piece of code is all but useless in determining the source of the problem. Show the actual contents of these functions. Or ask in the topic where you got it from.
ok thanks