Garry's Mod Wiki

Revision Difference

Entity:SetNetworkedEntity#514494

<function name="SetNetworkedEntity" parent="Entity" type="classfunc">⤶ <description>⤶ <deprecated>You should use <page>Entity:SetNWEntity</page> instead.</deprecated>⤶ ⤶ Sets a networked entity value at specified index on the entity.⤶ ⤶ The value then can be accessed with <page>Entity:GetNetworkedEntity</page> both from client and server.⤶ ⤶ <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="key" type="string">The key to associate the value with</arg>⤶ <arg name="value" type="Entity" default="NULL">The value to set</arg>⤶ </args>⤶ </function>⤶ ⤶