get_plugins_cvar

Синтаксис

native get_plugins_cvar(num, name[], namelen, &flags = 0, &plugin_id = 0, &pcvar_handle = 0, description[] = "", desc_len = 0);

Употреба

num
Index to retrieve
name
Buffer to copy cvar name to
namelen
Maximum buffer size
flags
Variable to store cvar flags to
plugin_id
Variable to store id of the registering plugin to
pcvar_handle
Variable to store cvar pointer to
description
Variable to store cvar description to
desc_len
Maximum length of string buffer

Описание

Retrieves information about a plugin-registered cvar via iterative access.

Забележка

The returned cvar pointer should be used with the get_pcvar_* and
set_pcvar_* set of functions.

Забележка

The cvar index does not equal the cvar pointer. It is the internal
AMXX id of a cvar, incremented for each registered cvar.

Връщаща стойност

1 on success, 0 if index is invalid