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

DB GetPage 3
Generate Html 5
SaveChanges (1) 11
Render Body 0
Render Sidebar 12