Starts a query to retrieve the value of a client's console variable.
QueryCookie QueryClientConVar(int client, const char cvarName, ConVarQueryFinished callback, any value)
Name of client convar to query.
A function to use as a callback when the query has finished.
Optional value to pass to the callback function.
A cookie that uniquely identifies the query. Returns QUERYCOOKIE_FAILED on failure, such as when used on a bot.