Lua:resetLuaState
Jump to navigation
Jump to search
Creates a new Lua state that will be used by Cheat Engine.
The old Lua state is not destroyed. This means that calling this function can leak memory.
Function Parameters[edit]
<none>
Returns[edit]
This function does not return a value.
Examples[edit]
resetLuaState()
-- Use with care. The old Lua state is not destroyed.
resetLuaState()
print("A new Lua state has been created")