Skip to main content
Passed to createmove. Writes are diffed back.

Movement

forwardmove, leftmove and upmove run 0 to 1, not 0 to 450 like CS:GO.

Buttons

buttons is the raw button bitfield. The common bits are on the events table:
Writes are applied as a diff against the value the command came in with, so clearing a bit releases the button and setting one presses it.

Mouse

mousedx and mousedy are read-only raw mouse deltas. If movement runs more than once for a command, copy the values into your own variables if you need to accumulate them.