Garry's Mod Wiki

NPC:SelectWeapon

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.

Special Pages


Wikis

?

Render Time: 74ms

DB GetPage 55
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7