Signature
native get_xvar_id(const name[]);
Description
Returns a unique id for a public variable.
Notes
-
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.
Parameters
- name — Variable name
Returns
Xvar id on success, -1 on failure