Garry's Mod Wiki

NPC:Give

  Weapon NPC:Give( string weapon )

Description

Used to give a weapon to an already spawned NPC.

Arguments

1 string weapon
Class name of the weapon to equip to the NPC.

Returns

1 Weapon
The weapon entity given to the NPC.