game.SetGlobalCounter

From Garry's Mod
Jump to: navigation, search
 game.SetGlobalCounter( )

Description

Sets the counter of a Global State.

See Global States for more information.

Arguments

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.

Arguments

number count

The value to set for that Global State.
Personal tools
Navigation