AMX Mod X API Documentation

Signature
native Float:get_xvar_float(id);
Description

Returns the float value of a public variable.

Notes
  • 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.

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

Xvar float value

Назад
Верх