Player color
#4

return 1;

This forum requires that you wait 240 seconds between posts. Please try again in 165 seconds. Faq it

Second Post of urs:

pawn Код:
public OnPlayerText(playerid, text[])
{
      new playertext[128];
     if(Rank /* replace Rank with the enum or smthing u saved with */ == the number) // then use else { if or if.
{
      format(playertext, sizeof(playertext), "[%d]%s: {FFFFFF}%s", playerid, name, text);
}
if(Rank == 5)
{
      format(playertext, sizeof(playertext), "[%d]%s: {FFFFFF}%s", playerid, name, text); // change the HEX code to the color u want
}
      SendClientMessageToAll(playerid, playertext);
      return 1;
}
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: 2 Guest(s)