set_xvar_num
- Синтаксис
-
native set_xvar_num(id, value = 0);
Переменная | Описание |
---|---|
id |
Xvar id, an xvar id can be retrieved using get_xvar_id() |
value |
Value to set |
- Описание
- Sets 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 set through the natives or the xvar will not be updated.
- Возвращает
- Функция ничего не возвращает