cvars.Number

From Garry's Mod
Jump to: navigation, search
 cvars.Number( )

Contents

Description

Retrieves console variable as a number.

Arguments

string cvar

Name of console variable

Arguments

any default=nil

The value to return if the console variable does not exist

Returns

number

Retrieved value
Personal tools
Navigation