okapi_get_library_ptr

Syntax

native okapi_get_library_ptr(const lib_name[])

Usage

lib_name
Library name

Description

Gets the base address of where the provided library is allocated in memory.

Note

By default Okapi registers the game as "mod", the engine as "engine" and
any library where its file path contains "addons". To get the library name,
module keeps only the file name without extension and without "_i386" for linux.
Examples: "metamod", "amxmodx_mm", "okapi_amxx"

Note

Available helpers: okapi_get_mod_address, okapi_get_engine_address

Return

Base address on success, 0 otherwise.