Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!

Commands List
Command | Description | More | Syntax |
---|---|---|---|
remove_weapon | This command removes a weapon currently held by the player. |
Examples, Generator & More | remove_weapon
<Weapon Name>
|
r_muzzleflashbrightness | Adjusts the brightness of the muzzle flash when firing a weapon. |
Examples, Generator & More | r_muzzleflashbrightness
<Brightness>
|
r_skinning_enabled | This command controls the skinning feature in the graphics rendering process, primarily affecting how models are animated and rendered in-game. Being marked as a cheat, it can only be used on servers with cheats enabled. |
Examples, Generator & More | r_skinning_enabled
<0 / 1>
|
r_worldlod | This command controls the Level of Detail (LOD) for various objects in the game world. Setting it can affect both performance and visual quality. |
Examples, Generator & More | r_worldlod
<0 / 1>
|
sc_disable_spotlight_shadows | This command disables the shadows cast by spotlights in the game, potentially improving performance on systems where shadows significantly impact framerate. |
Examples, Generator & More | sc_disable_spotlight_shadows
<0 / 1>
|
screenmessage_show | Enable display of console messages on screen. This command controls whether console messages are also shown directly on the game screen. It can be enabled, disabled, or set to automatically enable if the VGUI (Valve's graphical user interface) is not present. |
Examples, Generator & More | screenmessage_show
<0 / 1><-1>
|
snd_arrangement_start | This command initiates the playback of a specified sound arrangement. |
Examples, Generator & More | snd_arrangement_start
|
snd_envelope_rate | Adjusts the rate at which sound volumes are updated or 'enveloped', particularly useful for developers or in cheat-enabled environments for tweaking sound behaviors. |
Examples, Generator & More | snd_envelope_rate
<Rate>
|
spec_autodirector | This command enables or disables the auto-director feature while spectating games. The auto-director automatically chooses the best view modes and perspectives. |
Examples, Generator & More | spec_autodirector
<0 / 1>
|
sv_autoexec_mapname_cfg | Automatically executes a configuration file named after the current map on the server for custom game modes that require specific settings. |
Examples, Generator & More | sv_autoexec_mapname_cfg
<0 / 1>
|
sv_fade_player_visibility_farz | This command controls the fading of player visibility at long distances, determining whether players become less visible as they are further away. |
Examples, Generator & More | sv_fade_player_visibility_farz
<0 / 1>
|
sv_game_mode_flags | This command sets specific game mode flags on a dedicated server, modifying how certain game modes function. |
Examples, Generator & More | sv_game_mode_flags
<Game Mode Flags>
|
sv_hide_roundtime_until_seconds | This command configures the delay before the round timer is revealed to players. By default, the round timer is always visible. |
Examples, Generator & More | sv_hide_roundtime_until_seconds
<Seconds>
|
sv_max_deathmatch_respawns_per_tick | This command specifies the maximum number of respawns allowed per tick in a Counter-Strike 2 Deathmatch game mode. |
Examples, Generator & More | sv_max_deathmatch_respawns_per_tick
<Number of Respawns>
|
sv_noclipfriction | Sets the amount of friction applied during movement in noclip mode, affecting how quickly movement stops when no input is given. |
Examples, Generator & More | sv_noclipfriction
<Friction value>
|
sv_radio_throttle_window | This command sets the time in seconds before the tokens for radio commands are refreshed, i.e., how frequently players can use radio commands in-game. |
Examples, Generator & More | sv_radio_throttle_window
<Seconds>
|
sv_shield_explosive_damage_mindist | Sets the minimum distance below which the damage from explosives does not increase when a player is using a shield. |
Examples, Generator & More | sv_shield_explosive_damage_mindist
<Minimum Distance>
|
sv_warmup_to_freezetime_delay | This command sets the delay time in seconds between the end of the warmup period and the start of the match. |
Examples, Generator & More | sv_warmup_to_freezetime_delay
<delay>
|
sv_wateraccelerate | Defines the acceleration speed of players when they are underwater. |
Examples, Generator & More | sv_wateraccelerate
<Acceleration Speed>
|
sv_waterfriction | Adjusts the friction applied to players when they are moving in water. |
Examples, Generator & More | sv_waterfriction
<Friction value>
|