Garry's Mod Wiki

game.SetGlobalState

game.SetGlobalState( string name, number state )

Description

Sets 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 set.

If the Global State by that name does not exist, it will be created.

See Global States for a list of default global states.

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

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 3
Generate Html 9
SaveChanges (1) 9
Render Body 0
Render Sidebar 11