IP doesnt show correctly
#5

pawn Code:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
  new tempstring[250];
  new plrIP[16];
GetPlayerIp(playerid, plrIP, sizeof(plrIP))
  GetPlayerName(playerid,tempstring,sizeof(tempstring));
  format(tempstring,sizeof(tempstring),"%s's Stats\n\nScore: %d       (Players Current Score)\nJailed: %d       (0 meaning NO, 1 meaning YES)\nAdmin: %d       (The admin level of the player)\nMoney: %d       The current money the player has)\nIP: %s",tempstring,PlayerInfo[playerid][Score], PlayerInfo[playerid][Jailed], PlayerInfo[playerid][Level], GetPlayerMoney(playerid), plrIP);
  ShowPlayerDialog(playerid,STATS,DIALOG_STYLE_MSGBOX,"Stats",tempstring,"","Close");
      return 1;
}
More info
Reply


Messages In This Thread
IP doesnt show correctly - by HydraX - 18.01.2010, 19:15
Re: IP doesnt show correctly - by Vetle - 18.01.2010, 19:19
Re: IP doesnt show correctly - by HydraX - 18.01.2010, 19:20
Re: IP doesnt show correctly - by Joe Staff - 18.01.2010, 19:22
Re: IP doesnt show correctly - by GTAguillaume - 18.01.2010, 19:22
Re: IP doesnt show correctly - by HydraX - 18.01.2010, 19:23
Re: IP doesnt show correctly - by Double-O-Seven - 18.01.2010, 19:23
Re: IP doesnt show correctly - by Correlli - 18.01.2010, 19:24
Re: IP doesnt show correctly - by HydraX - 18.01.2010, 19:25
Re: IP doesnt show correctly - by HydraX - 18.01.2010, 19:26

Forum Jump:


Users browsing this thread: 2 Guest(s)