Garry's Mod Wiki

CUserCmd:AddKey

  CUserCmd:AddKey( number key )

Description

Adds a single key to the active buttons bitflag. See also CUserCmd:SetButtons.

Arguments

1 number key
Key to add, see IN enum.