Clicking on another player = same player!
#8

its easy copy same as im going to put down here
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
  new tempstring[250];
  new plrIP[16];
GetPlayerIp(clickedplayerid, plrIP, sizeof(plrIP));
  GetPlayerName(clickedplayerid,tempstring,sizeof(tempstring));
  format(tempstring,sizeof(tempstring),
"%s's Stats\n\nKills:   %d\n\nDeaths:   %d\n\nScore:   %d\n\nJailed:   %d     [1 = Jailed, 0 = Not Jailed]\n\nAdmin:   %d     [0 = NonAdmin]\n\nMuted:   %d     [1 = Muted, 0 = Not Muted]\n\nMoney:   $%d.00\n\nIP: %s"
,tempstring,PlayerInfo[clickedplayerid][Kills], PlayerInfo[clickedplayerid][Deaths], PlayerInfo[clickedplayerid][Score], PlayerInfo[clickedplayerid][Jailed], PlayerInfo[clickedplayerid][Level], PlayerInfo[clickedplayerid][Muted], GetPlayerMoney(clickedplayerid), plrIP);
  ShowPlayerDialog(playerid,STATS,DIALOG_STYLE_MSGBOX,"Stats",tempstring,"OK","Close");
  return 1;
}
Reply


Messages In This Thread
Clicking on another player = same player! - by HydraX - 20.01.2010, 22:21
Re: Clicking on another player = same player! - by SlashPT - 20.01.2010, 22:23
Re: Clicking on another player = same player! - by HydraX - 20.01.2010, 22:26
Re: Clicking on another player = same player! - by SlashPT - 20.01.2010, 22:28
Re: Clicking on another player = same player! - by HydraX - 20.01.2010, 22:36
Re: Clicking on another player = same player! - by SlashPT - 20.01.2010, 22:37
Re: Clicking on another player = same player! - by HydraX - 20.01.2010, 22:37
Re: Clicking on another player = same player! - by SlashPT - 20.01.2010, 22:41
Re: Clicking on another player = same player! - by HydraX - 20.01.2010, 23:13
Re: Clicking on another player = same player! - by Miki_Milan - 26.02.2010, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)