SA-MP Forums Archive
[Help] Id Next to Players Name - 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: [Help] Id Next to Players Name (/showthread.php?tid=190092)



[Help] Id Next to Players Name - XePloiT - 14.11.2010

hey,... hmm i want to make an id next to players name and i wrote a code but its only one color...
but i want to do "Player [i](players color): text(white)
Код:
public OnPlayerText(playerid, text[])
{
  new string[128];
  GetPlayerName(playerid, string, sizeof string);
  format(string, sizeof string, "%s [#%d]: %s", string, playerid, text);
  SendClientMessageToAll(GetPlayerColor(playerid), string);
  return 0;
}
thanks


Re: [Help] Id Next to Players Name - iggy1 - 14.11.2010

You can't untill the next sa-mp update. https://sampforum.blast.hk/showthread.php?tid=187756


Re: [Help] Id Next to Players Name - XePloiT - 14.11.2010

yea i saw this.... i thought maybe there is a way now...
but i have server which is there its goes like this...
(players color)Players Nameplayers color) (white)[#id] text(white) :\


Re: [Help] Id Next to Players Name - SampStunta - 14.11.2010

It 's possible, but can't help at the moment since I 'm on my phone..


Re: [Help] Id Next to Players Name - iggy1 - 14.11.2010

Quote:
Originally Posted by SampStunta
Посмотреть сообщение
It 's possible, but can't help at the moment since I 'm on my phone..
Nice i never thought you could. I could use it too, if you post when you get time thanks.

EDIT: so yeah i guess its not possible eh?