color lighter
#1

Hello.
I have a question.
How can I make that my chat color is little lighter than my player color?
My public:

pawn Код:
public OnPlayerText(playerid, text[])
{
  SetPlayerChatBubble(playerid, text, GetPlayerColor(playerid), 100.0, 10000);
  new strtext[128];
  new name[MAX_PLAYER_NAME];
  GetPlayerName(playerid, name, MAX_PLAYER_NAME);
  format(strtext, sizeof(strtext), "%s [%d]: %s", name, playerid, text);
    foreach (Player, i)
    {
    SendClientMessage(i,(GetPlayerColor(playerid), strtext);
  }
    return 0;
}
Reply
#2

anyone ?
Reply
#3

https://sampwiki.blast.hk/wiki/SendPlayerMessageToPlayer
Reply
#4

no you understand me wrong
I like to do that a player who writes a text the text comes in his color but little lighter as his player color.
example: my playercolor is blue, and the text message is than light blue or something, just lighter as the player color.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)