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

DB GetPage 30
Generate Html 1
SaveChanges (1) 11
Render Body 0
Render Sidebar 10