[Help] Id Next to Players Name
#1

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
Reply
#2

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

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) :\
Reply
#4

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

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)