AMX Mod X API Documentation

Signature
native get_cvar_pointer(const cvar[]);
Description

Returns the cvar pointer of the specified cvar.

Notes
  • A pointer is also returned by register_cvar() and create_cvar().

    Plugins can (and should) retrieve and use pointers for already existing

    mod cvars.

Parameters
  • cvar Cvar name to find
Returns

Cvar pointer on success, 0 if cvar was not found

Назад
Верх