CS2 Console Commands

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.

dlight_debug

CS2 and CSGO

Command

dlight_debug

Spawns a dynamic light where your crosshair is pointed. Use this command to debug lighting in the game.

Command Details

dm_togglerandomweapons

CS2 and CSGO

Command

dm_togglerandomweapons

Toggle whether all players spawn with random weapons after dying in deathmatch mode. This setting affects everyone on the server.

Command Details

dota_enable_spatial_audio

CS2 Only

Command

dota_enable_spatial_audio

<0 / 1>

Turn spatial audio on or off to improve 3D sound positioning in CS2.

Command Details

dota_spatial_audio_mix

CS2 Only

Command

dota_spatial_audio_mix

<0 / 1>

Controls the balance between spatial and non-spatial audio in CS2, improving the overall sound experience.

Command Details

drawcross

CS2 and CSGO

Command

drawcross

<X><Y><Z>

Spawns a cross marker at the specified X, Y, and Z coordinates. Use the console command cl_showpos 1 to display your current position as "pos: X Y Z."

Command Details

drawline

CS2 and CSGO

Command

drawline

<X Y Z><X Y Z>

Draws a line between two specified in-game coordinates.

Command Details

ds_workshop_changelevel

CS2 Only

Command

ds_workshop_changelevel

<Map Name>

Switch the server's current level to a specified workshop map by name.

Command Details

ds_workshop_listmaps

CS2 Only

Command

ds_workshop_listmaps

Lists all workshop maps currently available on the server.

Command Details

dump_entity_report

CS2 Only

Command

dump_entity_report

Generates a report listing all client-side entities currently active in the scene to help with debugging.

Command Details

dump_panorama_css_properties

CS2 and CSGO

Command

dump_panorama_css_properties

Lists all Panorama UI properties that use CSS. This helps you see details like element padding and the purpose of each CSS property in the UI.

Command Details