cvars.Bool

From Garry's Mod
Revision as of 02:46, 24 July 2016 by Zerf (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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