Difference between revisions of "Lua:inModule"

From Cheat Engine
Jump to navigation Jump to search
(Added mention of errorOnLookupFailure)
(Related Functions)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' inModule(''address'')
 
'''function''' inModule(''address'')
  
Line 17: Line 18:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[inSystemModule]]
+
 
* [[Lua]]
+
=== Related Functions ===
 +
* [[Lua:inSystemModule|inSystemModule]]

Latest revision as of 00:44, 25 January 2018

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[edit]

Parameter Type Description
address CEAddressString The address to look up


See also[edit]

Related Functions[edit]