ConVar/GetFloat

From Garry's Mod
Jump to: navigation, search
 ConVar:GetFloat( )

Description

Attempts to convert the ConVar value to a float

Returns

number

The float value of the console variable.

If the value cannot be converted to a float, it will return 0.
Personal tools
Navigation