Garry's Mod Wiki

CMoveData:SetOldButtons

  CMoveData:SetOldButtons( number buttons )

Description

Sets the 'old' pressed buttons on the move data. These buttons are used to work out which buttons have been released, which have just been pressed and which are being held down.

Arguments

1 number buttons
A number representing which buttons were down, see IN enum