WriteFile

Writes the data to a given file.

WriteFile(path, data, append) : true | false

Example

Writes "Hello World" into test.txt.

local success = WriteFile('test.txt', 'Hello World', false)