get_cvar_num
- Синтаксис
-
native get_cvar_num(const cvarname[]);
Переменная | Описание |
---|---|
cvarname |
Cvar name to retrieve value from |
- Описание
- Returns an integer value from a cvar. The cvar is accessed by name.
- Пометка
-
Accessing a Cvar by name is slower than direct pointer access, which is why the otherwise equivalent get_pcvar_num() function should be used instead.
- Возвращает
- Cvar value, converted to int