SA-MP Forums Archive
How to make PlayerID near player nick ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make PlayerID near player nick ? (/showthread.php?tid=181633)



How to make PlayerID near player nick ? - Ninaxer - 06.10.2010

How to make PlayerID near player nick ? i whait answer and srr for bad english


Re: How to make PlayerID near player nick ? - Ninaxer - 06.10.2010

help me please i need this


Re: How to make PlayerID near player nick ? - Rachael - 06.10.2010

Player id where? on top of the players head, in their chat?


Re: How to make PlayerID near player nick ? - Ninaxer - 06.10.2010

in chat , can make that?


Re: How to make PlayerID near player nick ? - Burridge - 06.10.2010

You mean something like this?
pawn Код:
public OnPlayerText(playerid, text[])
{
    new sendername[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "%s(%d): %s", sendername, playerid, text);
    SendClientMessageToAll(COLOR_HERE, string);
    return 0;
}
This should work, I haven't tested I wrote this up quickly.