[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


Messages In This Thread
[Help] Id Next to Players Name - by XePloiT - 14.11.2010, 04:40
Re: [Help] Id Next to Players Name - by iggy1 - 14.11.2010, 04:41
Re: [Help] Id Next to Players Name - by XePloiT - 14.11.2010, 04:45
Re: [Help] Id Next to Players Name - by SampStunta - 14.11.2010, 05:15
Re: [Help] Id Next to Players Name - by iggy1 - 14.11.2010, 05:17

Forum Jump:


Users browsing this thread: 1 Guest(s)