get_xvar_id
Syntax
native get_xvar_id(const name[]);
Usage
| Parameter | Description |
|---|---|
| name | Variable name |
Description
Returns a unique id for a public variable.
Note
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.
Return
Xvar id on success, -1 on failure