cvars.Bool

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

Contents

Description

Retrieves console variable as a boolean.

Arguments

string cvar

Name of console variable

Arguments

boolean default=false

The value to return if the console variable does not exist

Returns

boolean

Retrieved value
Personal tools
Navigation