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