MEMORY
Module
Returns the base address of a loaded module.
Syntax
local base = ONYX.Memory.Module(name)Parameters
name(string (optional)) — Module name, e.g. "kernel32.dll"; defaults to the main executable (GTA5.exe).
Return(s)
integer — base address of the module, or nil when not found.
Example(s)
local base = ONYX.Memory.Module()
local kernel = ONYX.Memory.Module("kernel32.dll")