Garry's Mod Wiki

Entity:SetNetworkedVector

  Entity:SetNetworkedVector( string key, Vector value = Vector( 0, 0, 0 ) )

Description

We advise against using this. It may be changed or removed in a future update. You should use Entity:SetNWVector instead.

Sets a networked vector value at specified index on the entity.

The value then can be accessed with Entity:GetNetworkedVector both from client and server.

Running this function clientside will only set it clientside for the client it is called on.

Arguments

1 string key
The key to associate the value with
2 Vector value = Vector( 0, 0, 0 )
The value to set