Object has to be set up with mp_syncAsChatHandler first, otherwise an error will occur.
Send message via the CHAT Interface over this chanel. The message has to be a string. You can also experiment with json to send more complicated data.
This message will by default be sent to all clients and the server [also the local game!] and can be retrieved via mp_chatGetQueue.
Use the additional ‘to’ argument to only send this message to one player.
|messa ge||strin g||The message to send|
|[to]||strin g||(optional; Will send to all by default) hash of the player that the message should be sent to.|