Garry's Mod Wiki

NPC:GetShootPos

You might be looking for "GetShootPos" intended for players, which redirects here due to a wiki bug.
  Vector NPC:GetShootPos()

Description

Returns the shooting position of the NPC.

This only works properly when called on an NPC that can hold weapons, otherwise it will return the same value as Entity:GetPos.

Returns

1 Vector
The NPC's shooting position.