SetConVarBounds Function

Sets the specified bound of a console variable.

void SetConVarBounds(Handle convar, ConVarBounds type, bool set, float value)


Handle convar

Handle to the convar.

ConVarBounds type

Type of bound to set, ConVarBound_Lower or ConVarBound_Upper

bool set

If set to true, convar will use specified bound. If false, bound will be removed.

float value

Floating point value to use as the specified bound.


Invalid or corrupt Handle.