Lua:executeCodeLocalEx

From Cheat Engine
Jump to navigation Jump to search

executeCodeLocalEx(address, {type=x,value=param1} or param1,{type=x,value=param2} or param2,...)

Calls a function using the given callmethod and parameters

If a direct parameter is given instead of a table entry describing the type, CE will 'guess' the type it is

Returns the E/RAX value returned by the called function (if no timeout or other interruption)


print( executeCodeLocalEx("MessageBoxA", 0, {type=3,value="title"}, {type=3,value="content"}, 0) )