get_xvar_num

Синтаксис

native get_xvar_num(id);

Употреба

id
Xvar id, an xvar id can be retrieved using get_xvar_id()

Описание

Returns the integer value of a public variable.

Забележка

If multiple plugins declare the same public variable, they are not
automatically synchronized. The xvar system accesses only one of all
public variables directly. Xvars have to be read through the natives or
the value will be incorrect.

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

Xvar integer value