Garry's Mod Wiki

Revision Difference

NPC:GetActiveWeapon#510697

<function name="GetActiveWeapon" parent="NPC" type="classfunc">⤶ <description>Returns the weapon the NPC is currently carrying, or <page text="NULL">Global_Variables</page>.</description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="Entity">The NPCs current weapon</ret>⤶ </rets>⤶ </function>⤶ ⤶