Player color
#1

Ok so i have made this

pawn Код:
public OnPlayerText(playerid, text[])
{
      new playertext[128], name[MAX_PLAYER_NAME];
      GetPlayerName(playerid, name, sizeof(name));
      format(playertext, sizeof(playertext), "[%d]%s: {FFFFFF}%s", playerid, name, text);
      SendClientMessageToAll(playerid, playertext);
      return 0;
}
But when player sends a text, playerid and playername are black. How do i get the color of player and it's id? I want the name and id's color display as what color the player class has. How to fix it, please Help!
Reply


Messages In This Thread
Player color - by iOxide - 20.11.2013, 11:54
Re: Player color - by Vince - 20.11.2013, 12:01
Re: Player color - by iOxide - 20.11.2013, 12:15
Re: Player color - by newbie scripter - 20.11.2013, 12:29
Re: Player color - by InglewoodRoleplay - 20.11.2013, 12:38
Re: Player color - by iOxide - 20.11.2013, 12:39
Re: Player color - by -Prodigy- - 20.11.2013, 13:18
Re: Player color - by iOxide - 20.11.2013, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)