UserCmd:SetButtons s1
Set the buttons
Syntax
UserCmd:SetButtons(buttons)
Parameters
buttons- New
IN_*bitfield.
Returns
No return value.
Notes
Warning
When setting a button make sure to GetButtons() first and add any additional button using the bitwise operator OR.
Note
Read more about Bitwise Operators.
Note
Check the Valve SDK regarding the value of buttons