It shows me the wrong information
#1

PHP код:
format(Stringsizeof(String), "(ID:%d | Ping: %d | IP: %s | Country: %s)",playerid,GetPlayerPing(playerid),IP,Country); 
Lets see what is wrong:
ID - Okay
Ping - it always says 128 or 256.While my ping is actually 10-50
IP - it shows my only 1 number - usually 56
Country - while im actually from Israel,it always telling me something else (Italy,Norway,Spain,Turkey etc..) and im not using any proxy or something

Full script:
PHP код:
   new Country[256],Name[256],IP[256];
   
CleanChat(playerid);
   
GetPlayerName(playeridNamesizeof(Name));
   
GetPlayerCountry(playerid,Country);
   
GetPlayerIp(playeridIPsizeof(IP));
   
format(Stringsizeof(String), "(ID:%d | Ping: %d | IP: %s | Country: %s)",playerid,GetPlayerPing(playerid),IP,Country);
    
SendClientMessage(playeridCOLOR_JString); 
So what is the problem?
Reply


Messages In This Thread
It shows me the wrong information - by nuriel8833 - 05.07.2010, 18:23
Re: It shows me the wrong information - by nuriel8833 - 06.07.2010, 05:03
Re: It shows me the wrong information - by Miikkel - 06.07.2010, 07:17
Re: It shows me the wrong information - by Matthias_ - 06.07.2010, 07:45
Re: It shows me the wrong information - by nuriel8833 - 06.07.2010, 07:56
Re: It shows me the wrong information - by nuriel8833 - 07.07.2010, 08:43
Re: It shows me the wrong information - by dice7 - 07.07.2010, 09:01
Re: It shows me the wrong information - by nuriel8833 - 15.07.2010, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)