Garry's Mod Wiki

CMoveData:GetOldButtons

  number CMoveData:GetOldButtons()

Description

Get which buttons were down last frame

Returns

1 number
An integer representing which buttons were down, see IN enum