GetGlobalBool

From Garry's Mod
Jump to: navigation, search
 GetGlobalBool( )

Contents

Description

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

Arguments

string index

The unique index to identify the global value with.

Arguments

boolean default=false

The value to return if the global value is not set.

Returns

boolean

The global value, or the default if the global value is not set.
Personal tools
Navigation