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

DB GetPage 45
Generate Html 3
SaveChanges (1) 15
Render Body 0
Render Sidebar 5