Revision Difference
game.GetGlobalCounter#518414
<function name="GetGlobalCounter" parent="game" type="libraryfunc">
<description>
Returns the counter of a Global State.
See <page>Global States</page> for more information.
</description>
<realm>Server</realm>
<args>
<arg name="name" type="string">The name of the Global State to set. 

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

See <page>Global States</page> for a list of default global states.</arg>⤶
<arg name="name" type="string">The name of the Global State to set. ⤶
⤶
If the Global State by that name does not exist, it will be created.⤶
⤶
See <page>Global States</page> for a list of default global states.</arg>⤶
</args>
<rets>
<ret name="" type="number">The value of the given Global State, 0 if the global state doesn't exist.</ret>
</rets>
</function>