get_cvar_string
- Синтаксис
-
native get_cvar_string(const cvarname[], output[], iLen);
Переменная | Описание |
---|---|
cvar |
Cvar name to retrieve value from |
output |
Buffer to copy cvar value to |
iLen |
Maximum size of the buffer |
- Описание
- Gets a string 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_string() function should be used instead.
- Возвращает
- Number of cells written to buffer.