[Ajuda] Format
#5

pawn Код:
public OnPlayerClickPlayer(playerid, clickedid, source)
{
   new p_name[24];
   GetPlayerName(playerid, p_name, sizeof(p_name));

   new dstring[256];
   format(dstring, sizeof(dstring), "Nome: %s || Score: %d || Grana: %d", p_name, GetPlayerScore(playerid), GetPlayerMoney(playerid));
   ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "STATUS", dstring, "Fechar", "");
   return 1;
}
No entanto, vocк estб a pegar nas informaзхes do jogador (playerid) que clicou no outro jogador (clickedid). Nгo seria mais inteligente pegar nas informaзхes do jogador que foi clicado (clickedid)?
Reply


Messages In This Thread
Format - by Insidious - 30.07.2014, 17:33
Re: Format - by SW1FTmeister - 30.07.2014, 18:04
Re: Format - by RebeloX - 30.07.2014, 18:28
Re: Format - by Insidious - 30.07.2014, 18:40
Re: Format - by SW1FTmeister - 30.07.2014, 18:44
Re: Format - by MatheusAlcapone - 30.07.2014, 18:46
Re: Format - by Insidious - 30.07.2014, 19:07
Re: Format - by Schocc - 30.07.2014, 19:52
Re: Format - by Insidious - 30.07.2014, 20:02

Forum Jump:


Users browsing this thread: 2 Guest(s)