Garry's Mod Wiki

Revision Difference

Entity:SetNetworkedVector#514488

<function name="SetNetworkedVector" parent="Entity" type="classfunc">⤶ <description>⤶ <deprecated>You should use <page>Entity:SetNWVector</page> instead.</deprecated>⤶ ⤶ Sets a networked vector value at specified index on the entity.⤶ ⤶ The value then can be accessed with <page>Entity:GetNetworkedVector</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="Vector" default="Vector( 0, 0, 0 )">The value to set</arg>⤶ </args>⤶ </function>⤶ ⤶