nanos world API Reference Unofficial documentation
Event 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>

Syntax

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

Arguments

Name Type Default Description
file_path string The file path