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

File.Default Constructor

Sintassi

Lua
File(file_path, truncate = false)

Parametri

Nome Tipo Predefinito Descrizione
file_path string If on Server, this is the Path relative to server executable. Otherwise if on Client, this is the Path relative to Client's 'Packages/.transient/' folder
truncate facoltativo boolean false Whether or not to clear the file upon opening it