Signature
native set_pcvar_bounds(pcvar, CvarBounds:type, bool:set, Float:value = 0.0);
Description
Sets the specified boundary of a cvar.
Parameters
- pcvar — Pointer to cvar
- type — Type of boundary to set
-
set
—
If true the cvar boundary will be set, otherwise it will be
removed (value is ignored)
- value — Floating point value to use as the boundary
No return value
Errors
-
If an invalid cvar pointer or boundary type is provided, an
error will be thrown.