Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Evento Client

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

Non ancora tradotto

Sintassi

Lua
Chat.Subscribe("ChatEntry", function(message, player)
    -- il tuo codice
end)

Argomenti

Nome Tipo Predefinito Descrizione
message string The message
player facoltativo Player? The player who sent the message or <code>nil</code> if this was called on client side or was sent through code