Garry's Mod Wiki

Revision Difference

NPC:GetShootPos#549114

<ambig page="Player:GetShootPos">You might be looking for "GetShootPos" intended for players, which redirects here due to a wiki bug.</ambig>⤶ <function name="GetShootPos" parent="NPC" type="classfunc"> <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 <page>Entity:GetPos</page>.</note> </description> <realm>Server</realm> <rets> <ret name="" type="Vector">The NPC's shooting position.</ret> </rets> </function>