Garry's Mod Wiki

Revision Difference

game.SetGlobalState#515059

<function name="SetGlobalState" parent="game" type="libraryfunc">⤶ <description>⤶ Sets whether a Global State is off, active or dead ( inactive )⤶ ⤶ 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. &#xA;&#xA;If the Global State by that name does not exist, it will be created.&#xA;&#xA;See &lt;page&gt;Global States&lt;/page&gt; for a list of default global states.</arg>⤶ <arg name="state" type="number">The state of the Global State. See &lt;page&gt;GLOBAL&lt;/page&gt;</arg>⤶ </args>⤶ </function>⤶ ⤶