This page is under active filling and correction
There may be errors, inaccuracies and omissions, and lack of translation
Follow the updates to receive up-to-date information
Console commands
A list of all console commands (ConCommands) — their description and usage syntax
Before we begin, let's understand how to read the syntax used in this documentation
Argument Notation
Command arguments (the parameters you pass) are denoted by special brackets:
| Syntax | Meaning | Example |
|---|---|---|
<argument> | A required argument — you must replace it with your own value | kick <name> |
[argument] | An optional argument — it can be omitted | kick <name> [reason] |
<on|off> | A choice between the suggested options, separated by | | log <on|off> |
Using Quotation Marks ("")
If an argument contains spaces or you want to combine multiple commands into a single line, it must be enclosed in double quotes (")
Without them, the console will treat each word as a separate command or argument
- Incorrect:
say Hello world(only "Hello" will be sent to the chat) - Correct:
say "Hello world"(the entire phrase will be sent)
This is especially important when creating binds with multi-commands:
bind F1 "buy ak47; buy vesthelm"
Important
The brackets <>, [], and the | symbol should not be typed into the console
They only describe the command's structure
Settings & Configuration
| Command | Description |
|---|---|
bind <key> <command> | Binds a command to a key For example: bind q "lastinv" |
unbind <key> | Unbinds a command from a key |
| unbindall | Unbinds all commands from all keys |
bindlist [template] | Displays a list of all current key bindings |
| sbindlist | Displays a list of 'shadow' key bindings set by the server |
multvar <cvar> <minvalue> <maxvalue> <factor> | Multiplies a cvar's value by a factor if it is within the specified range For example: bind uparrow "multvar voice_scale 0.01 1 2"bind downarrow "multvar voice_scale 0.01 1 0.5" |
incrementvar <cvar> <minvalue> <maxvalue> <delta> | Changes a cvar's value within a specified range For example: bind uparrow "incrementvar viewmodel_fov 60 179 1"bind downarrow "incrementvar viewmodel_fov 60 179 -1" |
BindToggle <key> <cvar> | A simplified version of incrementvar for quickly toggling a cvar between 0 and 1For example: BindToggle F4 voice_enable |
alias <name> <command> | Creates an alias for a single command or a group of commands For example: alias buy_grens "hegren;sgren;flash;" |
wait [frames] | A special modifier command that pauses the execution of a command sequence for a specified number of frames info
|
exec <filename.cfg> | Executes commands from the specified configuration file |
writecfg <filename.cfg> | Saves the current settings (cvars) to the specified file |
setinfo <key> <value> | Sets or changes a value in your userinfo stringFor example: setinfo "_vgui_menus" "0" |
Player & Gameplay
Network & Connection
| Command | Description |
|---|---|
connect <ip:port> | Connects to the specified game server For example: connect 123.45.67.89:27015 |
| reconnect | Refreshes the connection to the current server without a full disconnect Takes effect during a map change; manual execution will cause a full reconnection |
| retry | Attempts to reconnect to the last server |
| disconnect | Disconnects from the current server |
| ping | Shows the current ping to the server in the console |
| pingservers | Sends ping requests to cached local servers to update their information |
| list | Displays a list of cached local servers in the console Use slist to refresh the list |
| slist | Searches for and displays servers on the local network (LAN) in the console |
upload <!MD5...> | Uploads your custom spray to the server to be displayed to other players |
| fullupdate | Requests a full (non-delta) state update of all entities from the server, typically at the start of a demo recording This ensures the demo has complete information about all entity states in its initial frame |
Demos & Video
Server & Administration
Spectating & Media
| Command | Description |
|---|---|
play <path/to/file.wav> | Plays the specified sound file |
playvol <path> <volume> | Plays a sound at the specified volume (from 0.0 to 1.0) |
| stopsound | Immediately stops all sounds playing in the game |
soundfade <volume> <fadetime> | Smoothly fades the overall volume to a target value over a specified time in seconds |
speak <sentence>spk <sentence> | Plays a constructed sentence from multiple sound files |
| cd | Controls the CD/MP3 playermp3track <track_id> — play an MP3 trackplay <track_id> — play a track from a CDplayfile <file_name> — play an MP3 fileloop <track_id> — loop a CD trackloopfile <file_name> — loop an MP3 filestop — stop playbackfadeout — fade out the current track; fade time is determined by the MP3FadeTime cvarpause — pause playbackresume — resume playbackon — enable audiooff — disable audioreset — reset track positionsremap <track_id1> <track_id2> ... — set the order of CD tracksclose — close the CD drivemp3info — show additional info about the current MP3 trackeject — eject the CD driveinfo — show additional info |
| mp3 | Controls the MP3 playerplay <track_id> — play a CD trackplayfile <file_name> — play an MP3 fileloop <track_id> — loop a CD trackloopfile <file_name> — loop an MP3 filestop — stop playback |
| screenshot | Takes a screenshot in TGA format |
| snapshot | Takes a screenshot in BMP format |
| thirdperson | Enables third-person view Requires sv_cheats 1 |
| firstperson | Returns to first-person view |
commentator <0|1> | Enables (1) or disables (0) commentator mode when spectating via HLTV |
| spec_help | Shows help for spectator commands |
spec_menu <0|1> | Opens the spectator mode settings menu |
spec_mode <mode> [pip_mode] | Changes the spectator camera mode (first-person, third-person, free-roam) |
| spec_toggleinset | Toggles picture-in-picture (PIP) mode for spectators |
| spec_decal | Applies a spray logo in spectator mode |
Action Commands (for Binds)
Commands in this table have two forms, distinguished by a prefix:
+ — the action starts (key is held)
- — the action ends (key is released)
They are designed to be bound to keys using the bind command
For example:
bind mouse1 +attack
| Action | Description |
|---|---|
| attack | Primary weapon attack |
| attack2 | Alternate weapon attack |
| forward | Move forward |
| back | Move backward |
| moveleft | Strafe left |
| moveright | Strafe right |
| moveup | Move up (ladders, swimming) |
| movedown | Move down (ladders, swimming) |
| left | Turn left (keyboard) |
| right | Turn right (keyboard) |
| lookup | Look up (keyboard) |
| lookdown | Look down (keyboard) |
| jump | Jump |
| duck | Crouch |
| reload | Reload weapon |
| use | Use object (buttons, doors) |
| speed | Walk slowly |
| strafe | Enables strafe mode, where mouse movement left/right causes side-stepping |
| mlook | Enables vertical view control with the mouse |
| klook | Enables view control with the keyboard |
| jlook | Enables view control with a joystick |
| voicerecord | Activates the microphone for voice chat |
| showscores score | Shows the scoreboard |
| commandmenu | Shows the command menu (radio commands, etc.) |
| camdistance camin camout camyawleft camyawright campitchup campitchdown cammousemove | Commands for controlling the camera in third-person view |
| alt1 | An alternative action, typically used for special abilities in mods |
| graph | Shows the performance graph (net_graph) |
| break | Obsolete command Does nothing |
| nvgadjust | Adjusts the brightness (alpha) of the night vision effect when active |
Console
| Command | Description |
|---|---|
| clear | Clears all text from the console |
| toggleconsole | Opens or closes the console |
| hideconsole | Hides the console |
echo <text> | Prints the specified text to the console |
cvarlist [template] | Lists all console variables (cvars) A template can be used for searching |
cmdlist [template] | Lists all console commands |
find <string> | Finds commands and variables containing the specified text in their name or description |
| condump | Writes the entire console text to the condump.txt file |
System
| Command | Description |
|---|---|
| quit exit | Exits the game |
| version | Displays engine and build version information in the console |
gamedir <gamedir> | Shows or changes the current game directory (mod) |
save <filename> | Saves the current game (for single-player) |
load <filename> | Loads a saved game |
| autosave | Performs an autosave (for single-player) |
| reload | Reloads the most recent save game |
| escape | Simulates an Escape key press, typically used to close menus |
Debugging & Development
| Command | Description |
|---|---|
| cl_messages | Displays statistics on received network messages, including a detailed breakdown of svc_temp_entity and UserMessage |
| entities | Lists all entities on the server |
| condebug | Enables logging of all console output to qconsole.log |
| contimes | Displays an overlay with console command execution times |
| decallist | Lists active decals on the map |
| delta_clear | Resets delta compression statistics |
| delta_stats | Shows statistics on network delta compression |
| dev_overview_takeshot | Takes a top-down screenshot of the map for the overview and creates a .txt file with coordinates |
| envmap | Generates 6 screenshots of the current scene to create environment maps (cubemaps) |
fullserverinfo <complete info string> | Displays the server's userinfo string in the console |
| http_tracking | Debug information from the internal ISteamHTTP implementation |
| httpstop | Resets the FastDL cache, forcing the client to re-attempt downloading necessary files from the fast download server |
| rescount | Shows the number of precached resources on the server |
reslist <sound | model | decal | generic | event> | Lists all precached resources (sounds, models, etc.) |
localinfo <key> <value> | Displays debug information about the local client in the console |
serverinfo <key> <value> | Shows/sets the server's userinfo string |
| showinfo | Shows the server's userinfo |
| soundinfo | Shows information about the current sound device and its state |
waveplaylen <path/to/file.wav> | Shows the duration of the specified .wav file |
gg <filename> | Runs the built-in benchmark (Game Gauge) by playing a demo and measuring performance |
timedemo <filename> | Plays a demo file at maximum speed and reports the average FPS to the console |
| timerefresh | Rotates the camera 360 degrees while measuring and reporting the average FPS |
| pointfile | Loads a {map}.pts file generated by the map compiler to show geometry 'leaks' |
| getpos | Displays the player's current coordinates and view angles in the console |
| spec_pos | Displays the current coordinates and view angles in spectator mode With argument |
| cacheflush | Clears the resource cache; all sounds, models, and sprites will be reloaded the next time they appear on the map Requires sv_cheats 1Старое название flush |
| cachelist | Writes a list of cached resources to the mem.txt file |
| cachemodels | Writes a list of currently cached models to the mem.txt file |
| cachesounds | Writes a list of currently cached sounds to the mem.txt file |
spritelist [all] | Lists all loaded sprites |
| soundlist | Lists all loaded sounds |
| hunklist | Writes information about 'hunk' memory allocation to the mem.txt file |
| mcache | Shows a list of all precached models on the server |
| r_clearbeams | Removes all active 'beams' from the map |
r_cleardecals [permanent] | Clears all temporary decals (bullet holes, blood) from the map With the permanent argument, also removes permanent decals |
@get_userinfo <#userid|@index|name|all> | Displays the full userinfo string for the specified players on the server |
| @depot_dump | Displays a list of all available tags (versions) in the update repository |
| @depot_info | Displays information about the current update repository |
hud_radar_mapshot [zoom] [zmin] [zmax] [quality] | Recreates a top-down screenshot of the map and a .txt coordinate file for the advanced HUD radar |
fullinfo <string> | Sends a complete userinfo string to the server |
| gl_dump | Displays detailed debug information about the OpenGL renderer (version, vendor, extensions) |
| gl_texels | Shows the number of texels currently in use |
| gl_textures | Lists all textures currently loaded into video memory |
| interp | A debug command for displaying client-side interpolation status |
| mem_stats | Displays detailed statistics on engine memory usage |
Service Commands
These commands are intended for internal use by the engine and Game UI
They may require a game restart or cause unexpected behavior if invoked manually
| Command | Description |
|---|---|
| _restart | Restarts the game engine completely Used to apply settings that require a restart |
_setvideomode <w> <h> [video_mode] | Sets the screen resolution and display mode, then requires a restart via _restartCalled from the video settings menu |
_sethdmodels <0|1> | Enables or disables HD models and restarts the game to apply the change |
_setaddons_folder <0|1> | Enables or disables the use of the _addons folder and restarts the game |
_set_vid_level <0|1> | Sets the video detail level (Low/High) and restarts the game |
| _careeraudio | Internal command for managing audio in CS:Condition-Zero's 'Career' mode |
_setgamedir <gamedir> | Internal command for changing the game directory |
| stuffcmds | A service command that executes at the final stage of loading user configs |