Lua:loadTable

From Cheat Engine
Revision as of 03:19, 18 April 2018 by TheyCallMeTim13 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function loadTable(fileName, merge OPTIONAL)
function loadTable(memoryStream, merge OPTIONAL, ignoreLuaScriptDialog)

Loads a ".CT" or ".CETRAINER". If merge is provided and set to true it will not clear the old table.

Function Parameters

Parameter Type Description
fileName String The name of the file to be added to the cheat table
merge Boolean If set to true it will merge to current table with the loaded table and not clear the old table.
Parameter Type Description
memoryStream MemoryStream The memory stream to load as a cheat table
merge Boolean If set to true it will merge to current table with the loaded table and not clear the old table.
ignoreLuaScriptDialog Boolean

Examples

loadTable('SomeGame.CT')
loadTable('SomeGame.CETRAINER')
local stream = createMemoryStream()
stream.loadFromFile('SomeGame.CT')
loadTable(stream)


See also

Related Functions

Related Classes