Lua:getAddressSafe

From Cheat Engine
Jump to navigation Jump to search

function getAddressSafe(AddressString, local OPTIONAL) : integer

Passes the given string to Cheat Engine's symbol handler and returns the corresponding address as an integer, or nil if not found. Similar to getAddress when errorOnLookup is false, but returns nil instead. Can be a module name or an export. Set local to true if you wish to query the symbol table of the CE process.

Function Parameters

Parameter Type Description
AddressString CEAddressString The AddressString to convert to an integer
local Boolean Set to true if you wish to query the symbol table of the CE process


See also

Related Functions