Difference between revisions of "Lua:inModule"

From Cheat Engine
Jump to navigation Jump to search
(Added mention of errorOnLookupFailure)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' inModule(''address'')
 
'''function''' inModule(''address'')
  

Revision as of 13:22, 19 March 2017

function inModule(address)

Returns true if the provided address resides inside a module (example: .exe or .dll)

If errorOnLookupFailure is set to true (the default value), if you look up a symbol that does not exist, it will throw an error. With errorOnLookupFailure set to false, it will return false.

Function Parameters

Parameter Type Description
address CEAddressString The address to look up


See also