Garry's Mod Wiki

input.SelectWeapon

input.SelectWeapon( Weapon weapon )

Description

Switches to the provided weapon on the next CUserCmd generation/CreateMove call. Direct binding to CInput::MakeWeaponSelection.

Arguments

1 Weapon weapon
The weapon entity to switch to.

Page Links


Special Pages


Wikis

?

Render Time: 26ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 11