get_cvar_float

Синтаксис

native Float:get_cvar_float(const cvarname[]);

Употреба

cvarname
Cvar name to retrieve value from

Описание

Returns a floating value from a cvar. The cvar is accessed by name.

Забележка

Accessing a Cvar by name is slower than direct pointer access, which is
why the otherwise equivalent get_pcvar_float() function should be used
instead.

Връщаща стойност

Cvar value, converted to float