Garry's Mod Wiki

game.GetGlobalState

Description

Returns whether a Global State is off, active or dead ( inactive )

See Global States for more information.

Arguments

1 string name
The name of the Global State to retrieve the state of.

If the Global State by that name does not exist, GLOBAL_DEAD will be returned.

See Global States for a list of default global states.

Returns

1 number
The state of the Global State. See Enums/GLOBAL

Page Links


Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 5
Generate Html 6
SaveChanges (1) 12
Render Body 0
Render Sidebar 16