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