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

Package.FileReload

Called when a file is directly reloaded from the server using <a href="#static-function-reloadclientfile">Package.ReloadClientFile()</a><br/><br/>You can use the path to reload the file in runtime with <a href="#static-function-require">Package.Require(path, true)</a>

Non ancora tradotto

Sintassi

Lua
Package.Subscribe("FileReload", function(file_path)
    -- il tuo codice
end)

Argomenti

Nome Tipo Predefinito Descrizione
file_path string The file path