set_cvar_float
- Синтаксис
-
native set_cvar_float(const cvar[], Float:value);
Переменная | Описание |
---|---|
cvar |
Cvar name to set value of |
value |
Value to set cvar to |
- Описание
- Sets a cvar to a given float value. The cvar is accessed by name.
- Пометка
-
Accessing a Cvar by name is slower than direct pointer access, which is why the otherwise equivalent set_pcvar_float() function should be used instead.
- Возвращает
- Функция ничего не возвращает