Garry's Mod Wiki

Entity:GetNetworked2Vector

  any Entity:GetNetworked2Vector( string key, any fallback = Vector( 0, 0, 0 ) )

Description

Retrieves a networked vector value at specified index on the entity that is set by Entity:SetNetworked2Vector.

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

Arguments

1 string key
The key that is associated with the value
2 any fallback = Vector( 0, 0, 0 )
The value to return if we failed to retrieve the value. (If it isn't set)

Returns

1 any
The value associated with the key