NPC/GetShootPos

From Garry's Mod
Jump to: navigation, search
 NPC:GetShootPos( )

Description

Returns the shooting position of the NPC.

NOTE

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

Returns

Vector

The NPC's shooting position.
Personal tools
Navigation