get_pcvar_float

Syntax

native Float:get_pcvar_float(pcvar);

Usage

pcvar
Pointer to cvar to retrieve value from

Description

Returns a float value from a cvar via direct pointer access.

Return

Cvar value, converted to float

Error

If an invalid cvar pointer is provided, an error will be
thrown.