Garry's Mod Wiki

Revision Difference

Global.SetGlobal2Entity#547631

<function name="SetGlobal2Entity" parent="Global" type="libraryfunc">⤶ <description>⤶ Defines an entity to be automatically networked to clients⤶ ⤶ <note>Running this function clientside will only set it clientside for the client it is called on!</note>⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="index" type="any">Index to identify the global entity with</arg>⤶ <arg name="ent" type="Entity">Entity to be networked</arg>⤶ </args>⤶ </function>