SetConVarBounds

Last Updated2014-12-10
Created At2014-12-10

Sets the specified bound of a console variable.

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

Parameters

Handle convar
Handle to the convar.
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.

Return Value

void

Error

Invalid or corrupt Handle.