Garry's Mod Wiki

Revision Difference

CMoveData:SetOldButtons#518202

<function name="SetOldButtons" parent="CMoveData" type="classfunc"> <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.</description> <realm>Shared</realm> <args> <arg name="buttons" type="number">A number representing which buttons were down, see &lt;page&gt;IN&lt;/page&gt;</arg> <arg name="buttons" type="number">A number representing which buttons were down, see <page>IN</page></arg> </args> </function>