native
get_pcvar_bounds
Syntax
native bool:get_pcvar_bounds(pcvar, CvarBounds:type, &Float:value);
Description
Retrieves the specified value boundary of a cvar.
Parameters
| pcvar | Pointer to cvar |
|---|---|
| type | Type of boundary to retrieve |
| value | Variable to store the specified boundary to |
Return
True if the cvar has a boundary set, false otherwise
Error
If an invalid cvar pointer or boundary type is provided,
an error will be thrown.