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

DB GetPage 24
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 8