Garry's Mod Wiki

Entity:EyePos

  Vector Entity:EyePos()

Description

Returns the position of an Player/NPC's view.

Returns

1 Vector
View position of the entity.