Lua:saveTable
Jump to navigation
Jump to search
function saveTable(fileName, protect OPTIONAL)
Saves the current table. If protect is provided and set to true and the filename has the ".CETRAINER" extension, it will protect it from reading normally.
Function Parameters
Parameter | Type | Description |
---|---|---|
fileName | String | The name of the file to save cheat table to |
protect | Boolean | If set to true and the filename has the ".CETRAINER" extension, it will protect it from reading normally |
Examples
saveTable('SomeGame.CT')
saveTable('SomeGame.CETRAINER', true)