Garry's Mod Wiki

ConVar:GetBool

boolean ConVar:GetBool()

Description

Tries to convert the current string value of a ConVar to a boolean.

Returns

1 boolean
The boolean value of the console variable. If the variable is numeric and not 0, the result will be true. Otherwise the result will be false.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 12