Garry's Mod Wiki

NPC:SelectWeapon

NPC:SelectWeapon( string class )

Description

Forces the NPC to switch to a specific weapon the NPC owns. See NPC:GetWeapons.

Arguments

1 string class
A classname of the weapon or a Weapon entity to switch to.

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 10
Render Body 0
Render Sidebar 6