Garry's Mod Wiki

Revision Difference

Global.GetGlobal2Var#547645

<function name="GetGlobal2Var" parent="Global" type="libraryfunc">⤶ <description>⤶ Returns a value that is shared between the server and all clients.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="index" type="string">The unique index to identify the global value with.</arg>⤶ <arg name="default" type="any" default="nil">The value to return if the global value is not set.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="any">The global value, or the default if the global value is not set.</ret>⤶ </rets>⤶ </function>