Garry's Mod Wiki

CUserCmd:RemoveKey

  CUserCmd:RemoveKey( number button )

Description

Removes a key bit from the current key bitflag.

For movement you will want to use CUserCmd:SetForwardMove, CUserCmd:SetUpMove and CUserCmd:SetSideMove.

Arguments

1 number button
Bitflag to be removed from the key bitflag, see IN enum.