input.SelectWeapon

From Garry's Mod
Jump to: navigation, search
 input.SelectWeapon( )

Description

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

Arguments

Weapon weapon

The weapon entity to switch to.
Personal tools
Navigation