Garry's Mod Wiki

cvars.Bool

boolean cvars.Bool( string cvar, boolean default = false )

Description

Retrieves console variable as a boolean.

Arguments

1 string cvar
Name of console variable
2 boolean default = false
The value to return if the console variable does not exist

Returns

1 boolean
Retrieved value

Page Links


Special Pages


Wikis

?

Render Time: 43ms

Session 0
DB GetPage 2
Generate Html 10
SaveChanges 15
Render Body 0
Render Sidebar 12