ChatPrint with color


i want to use the function ChatPrint with color argument, is there a way to do so?


for k, v in player.GetAll() do
    v:ChatPrint(Color(255,0,0), "Test")

unfortunately, it only gets a string but not a color too.

is there a good alternative?


You’ll have to network to the client and tell it to print a coloured message with chat.AddText.

btw, is there a way to print custom things to the chat with AddText?
because it usually prints the text with the name in the beginning of the text.
i want a full control of what is printed out to the chat window


chat.AddText will not add it with the name of the player… and it will only show to the client in which the code was executed.