query_client_cvar
- Синтаксис
-
native query_client_cvar(id, const cvar[], const resultFunc[], paramlen = 0, const params[] = "");
Переменная | Описание |
---|---|
id |
Client index |
cvar |
Cvar to query |
resultFunc |
Callback function |
paramlen |
Size of extra data |
params |
Extra data to pass through to callback |
- Описание
- Dispatches a client cvar query, allowing the plugin to query for its value on the client.
- Пометка
-
The callback will be called in the following manner: public cvar_query_callback(id, const cvar[], const value[], const param[]) id - Client index cvar - Cvar queried value - Cvar value on the client param - Optional extra data
- Возвращает
- Функция ничего не возвращает