onPlayerChat
Description
This is called when a player chat.
| Name | Description |
|---|---|
| player | The player |
| message | This is the message that player sent |
Example
Print the message of player.
function onPlayerChat(player, message) { print(player.Name " says: " + message);}