Garry's Mod Wiki

NPC:GetShootPos

  Vector NPC:GetShootPos()

Description

Returns the shooting position of the NPC, i.e. where their bullets would come from, etc.

If the NPC does not overwrite this, it will return Entity:GetPos.

Returns

1 Vector
The NPC's shooting position.