Garry's Mod Wiki

game.SetGlobalCounter

game.SetGlobalCounter( string name, number count )

Description

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

2 number count
The value to set for that Global State.

Page Links


Special Pages


Wikis

?

Render Time: 86ms

DB GetPage 37
Generate Html 7
SaveChanges (1) 18
Render Body 0
Render Sidebar 20