Garry's Mod Wiki

Garry's Mod Wiki

  boolean GetGlobal2Bool( 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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...