get_cvar_pointer
- Синтаксис
-
native get_cvar_pointer(const cvar[]);
Переменная | Описание |
---|---|
cvar |
Cvar name to find |
- Описание
- Returns the cvar pointer of the specified cvar.
- Пометка
-
A pointer is also returned by register_cvar() and create_cvar(). Plugins can (and should) retrieve and use pointers for already existing mod cvars.
- Возвращает
- Cvar pointer on success, 0 if cvar was not found