View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-08-2019 , 18:00   Re: About QueryClientConVar value
Reply With Quote #2

https://sm.alliedmods.net/new-api/co...ryClientConVar

QueryCookie QueryClientConVar(int client, const char[] cvarName, ConVarQueryFinished callback, any value)

"any value" just allows you to get the value that you passed to the callback function (last parameter above). "const char[] cvarvalue" allows you to get the actual value of the convar. If you're asking how to get different types of values, then you can just use the StringTo* functions on the cvarvalue string.

StringToInt(cvarvalue)
StringToFloat(cvarvalue)
__________________
Psyk0tik is offline