event onPlayerMessage (client-side)
Available since version: 0.0.1
This event is triggered when message is send from specific player or server to the client.
Parameters
int|null id, int r, int g, int b, string message
int|nullid: the id of the player who sent the message. If id is set tonull, then server sent message.intr: the amount of red in the message color(0 - 255).intg: the amount of green in the message color(0 - 255).intb: the amount of blue in the message color(0 - 255).stringmessage: a message sended from server or other player.