SA-MP Forums Archive
[AJUDA] Status click playerid - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Status click playerid (/showthread.php?tid=310707)



[AJUDA] Status click playerid - FriendrS - 13.01.2012

Pessoal eu queria q quando o player apertase TAB e clickando nos nick aparese
o status com as seguintes imformзгo o Nick o Score e o Dinheiro
se alguem pode me ajudar do + Rep



Re: [AJUDA] Status click playerid - steki. - 13.01.2012

Veja OnPlayerClickPlayer.


Re: [AJUDA] Status click playerid - Jason` - 13.01.2012

pawn Код:
public OnPlayerClickPlayer(playerid,clickedplayerid,source)
{
    new string[64],name[24];
    GetPlayerName(clickedplayerid,name,sizeof(name));
    format(string,sizeof(string),"Nick: %s",name);
    SendClientMessage(playerid,0xFFFFFFFF,string);
    format(string,sizeof(string),"Score: %d",GetPlayerScore(clickedplayerid));
    SendClientMessage(playerid,0xFFFFFFFF,string);
    format(string,sizeof(string),"Dinheiro: %d",GetPlayerMoney(clickedplayerid));
    SendClientMessage(playerid,0xFFFFFFFF,string);
    return 1;
}
Isso?


Re: [AJUDA] Status click playerid - FriendrS - 13.01.2012

й bem isso +Rep