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: 59ms

DB GetPage 28
Generate Html 7
SaveChanges (1) 9
Render Body 0
Render Sidebar 12