get_xvar_id
- Синтаксис
-
native get_xvar_id(const name[]);
Переменная | Описание |
---|---|
name |
Variable name |
- Описание
- Returns a unique id for a public variable.
- Пометка
-
Variables declared with the "public" specifier are accessible by-name from outside of the declaring plugin.
- Пометка
-
If multiple plugins declare the same public variable, this native will still return a unique id.
- Возвращает
- Xvar id on success, -1 on failure