Garry's Mod Wiki

NPC:GetActiveWeapon

  Entity NPC:GetActiveWeapon()

Description

Returns the weapon the NPC is currently carrying, or NULL.

Returns

1 Entity
The NPCs current weapon