Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details. Click (Command Details) to view each specific command in more detail.
How to Use CS:GO & CS2 Commands
First, turn on the developer console. Go to Settings > Game Settings and switch "Enable Developer Console" to Yes.
Press the ` or ~ key on your keyboard to open the console.
Type in a command, or copy it from here, hit ENTER, and you’re good to go!
Triggers a breakpoint whenever a sound event matching the specified name starts. Helps developers and testers identify and debug specific sound issues in the game.
Casts a ray from the player's view to create a sound event at the point where it hits an in-game object. Use this command mainly to debug audio issues. Sounds can be set to retrigger regularly, and you can clear previous sound events.