Garry's Mod Wiki

NPC:GetShootPos

NPC:GetShootPos

  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.

Special Pages


Wikis

?

Render Time: 87ms

DB GetPage 14
Generate Html 2
SaveChanges (1) 61
Render Body 0
Render Sidebar 8