Garry's Mod Wiki

ConVar:GetBool

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.

Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 20
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 7