Garry's Mod Wiki

GetGlobalBool

boolean GetGlobalBool( string index, boolean default = false )

Description

Returns a boolean that is shared between the server and all clients.

Arguments

1 string index
The unique index to identify the global value with.
2 boolean default = false
The value to return if the global value is not set.

Returns

1 boolean
The global value, or the default if the global value is not set.

Page Links


Special Pages


Wikis

?

Render Time: 36ms

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