Lua:findTableFile
Jump to navigation
Jump to search
function findTableFile(filename) : UserData
Returns a TableFile object representing a file stored with the cheat table. You can retrieve the data as a MemoryStream or save it to disk.
Contents
Function Parameters
Parameter | Type | Description |
---|---|---|
filename | String | The name of the file added to the cheat table |
Example
local file = findTableFile('protected.wav') playSound(file)
Adding a File
To add a file to your table, open the 'Table' menu and pick 'Add File':
Pick the file and it will be added to the table with the same name and show up as a separate entry below 'Add file' in the 'Table' menu. From that you can rename it, save it out to disk, or delete it: