Difference between revisions of "Lua:inModule"

From Cheat Engine
Jump to navigation Jump to search
(Added mention of errorOnLookupFailure)
Line 3: Line 3:
 
Returns true if the provided address resides inside a module (example: .exe or .dll)
 
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===
 
===Function Parameters===

Revision as of 20:26, 5 September 2014

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