Skip to content

cmd:SetButtons cs2

Set the buttons

Syntax

cmd:SetButtons(buttons)

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