native
get_pcvar_bool
Syntax
native bool:get_pcvar_bool(pcvar);
Description
Returns an boolean value from a cvar via direct pointer access.
Parameters
| pcvar | Pointer to cvar to retrieve value from |
|---|
Return
Cvar value, converted to bool
Error
If an invalid cvar pointer is provided, an error will be
thrown.