GetConVarBounds Function

Retrieves the specified bound of a console variable.

bool GetConVarBounds(Handle convar, ConVarBounds type, float& value)


Handle convar

Handle to the convar.

ConVarBounds type

Type of bound to retrieve, ConVarBound_Lower or ConVarBound_Upper.

float& value

By-reference cell to store the specified floating point bound value.

Return Value

True if the convar has the specified bound set, false otherwise.


Invalid or corrupt Handle.