Garry's Mod Wiki

Garry's Mod Wiki

  number game.GetGlobalCounter( string name )

Description

Returns the counter of a Global State.

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.

Returns

1 number
The value of the given Global State, 0 if the global state doesn't exist.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...