SA-MP Forums Archive
Why i get swedish IP(mysql 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: Why i get swedish IP(mysql problem) (/showthread.php?tid=324723)



Why i get swedish IP(mysql problem) + REP - doreto - 10.03.2012

can someone tell me why i get swedish 5.37.205.203 ip i have to resive Bulgarian (BG) ip like this 84.54.156.135 <this is my ip and that shoud show> but show swedish so here on db what i make for IP colum IP varchar(16) latin1_swedish_ci i use this stock to get player ip
PHP код:
stock GetPlayerIP(playerid
{
    new 
Ip[25];
    
GetPlayerIp(playeridIpsizeof(Ip));
    return 
Ip;




Re: Why i get swedish IP(mysql problem) - doreto - 10.03.2012

anyone know why i get strange problem it is latin1_swedish_ci ?