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: 62ms

DB GetPage 44
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7