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

Chat.PlayerSubmit

Called when a player submits a message in the chat

Non ancora tradotto

Sintassi

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

Argomenti

Nome Tipo Predefinito Descrizione
message string The message sent by the player
player Player The player who sent the message - on client it will always be the localplayer

Valore restituito

  • boolean Return false to prevent the message from being sent