Documentation

Write File Contents - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Filesystem :: Write File Contents

Root.Filesystem.FileWriteString(
  Path String,
  Content String
) Boolean
Creates or overwrites a file with the contents of a string

Parameters

Path String
Location of the file being written
Content String
Content to store in the file

Return Value

Boolean

Lua Usage

local boolean = filesystem:FileWriteString(path, content)

If you think anything is missing, please feel free to: submit documentation feedback on this page