[Bug] SendPlayerMessageToAll, Colour Embedding
#1

SendPlayerMessageToAll and SendPlayerMessageToPlayer lose colour embedding when returning to a new line. There doesn't appear to be a problem in the script. Has anyone else experienced this?



Regards, CodeRae.
Reply
#2

Use SendClientMessageToAll.
Reply
#3

Quote:
Originally Posted by Mean
Посмотреть сообщение
Use SendClientMessageToAll.
As you may see, he already done that, but it's changing color anyway
Reply
#4

A player message is a way for the server to 'fake' a player chat message. Player chat messages aren't really meant to contain embedded colours. This might be fixed at some point, although I'd recommend you use client messages (server -> client). The only real difference is that client messages aren't automatically wrapped over lines. You could easily script this yourself though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)