okapi_get_library_size

Syntax

native okapi_get_library_size(const lib_name[])

Usage

lib_name
Library name

Description

Gets the length of the library.

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_size, okapi_get_engine_size

Return

Base address on success, 0 otherwise.