Event
Chat.ChatEntry
Called when a new Chat Message is received, this is also triggered when new messages are sent programatically<br/><br/>This is useful for creating your own Chat interface while still use the built-in system
Syntax
Chat.Subscribe("ChatEntry", function(message, player)
-- il tuo codice
end)
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
message
|
string | — | The message |
player
optional
|
Player? | — | The player who sent the message or <code>nil</code> if this was called on client side or was sent through code |