Garry's Mod Wiki

Entity:GetNetworkOrigin

  Vector Entity:GetNetworkOrigin()

Description

Gets networked origin for entity.

On the Client, this seems to return the position relative to the parent (if it has one). On the server-side this will return what you expect even if it has a parent.

Returns

1 Vector
The last received origin of the entity.