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
<none>
Returns
This function does not return a value.
Examples
resetLuaState()
-- Use with care. The old Lua state is not destroyed.
resetLuaState()
print("A new Lua state has been created")