bind_pcvar_float
- Синтаксис
-
native bind_pcvar_float(pcvar, &Float:var);
Переменная | Описание |
---|---|
pcvar |
Pointer to cvar |
var |
Global variable to keep updated |
- Описание
- Binds a cvar's float value to a global variable. The variable will then always contain the current cvar value as it is automatically kept up to date.
- Пометка
-
The variable *has* to be a global or a static variable. Local variables created within functions can not be used for technical reasons.
- Пометка
-
Variables can not be bound to multiple cvars.
- Возвращает
- Функция ничего не возвращает