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

Client.ValueChange

Triggered when a Value is changed with <code>Client.SetValue()</code> or <code>Server.SetValue()</code> (for synced values)

Non ancora tradotto

Sintassi

Lua
Client.Subscribe("ValueChange", function(key, value)
    -- il tuo codice
end)

Argomenti

Nome Tipo Predefinito Descrizione
key string The key that changed
value any The new value