Applies to: Counter-Strike 2 on the Gravel Host Panel · Time: about 5 minutes · Difficulty: Beginner
A list of the most useful Counter-Strike 2 console commands, with a short description of what each one does. Replace the value in brackets with your own, for example fps_max 240.
~ or ` on your keyboard to open the console, then type a command and press Enter.| Command | Description |
|---|---|
fps_max [#] |
Caps the FPS. Set to 0 for no limit. |
bind [action] [key] |
Binds an action to a hotkey, for example a jump throw bind. |
disconnect |
Disconnects from the current server. |
quit |
Quits Counter-Strike 2. |
sensitivity [#] |
Changes your mouse sensitivity. |
viewmodel_fov [#] |
Changes the field of view of your weapon viewmodel. |
| Command | Description |
|---|---|
sv_cheats [0/1] |
Toggles use of "cheatier" commands in private matches. |
sv_infinite_ammo [0/1] |
Toggles infinite ammo on or off. |
noclip |
Lets you fly around and pass through walls and floors. |
god |
Toggles invulnerability on or off. |
kill |
Instantly kills and respawns the player. |
give weapon_[weapon name] |
Spawns the specified weapon. |
sv_rethrow_last_grenade |
Repeats the last grenade throw exactly. |
sv_grenade_trajectory [0/1] |
Toggles tracers for grenade trajectories. |
sv_gravity [#] |
Sets the gravity (default is 800). |
ent_bbox |
Displays an object's collision box in orange. |
launch_warmup_map [map name] |
Starts a practice mode match on the specified map. |
| Command | Description |
|---|---|
mp_respawn_on_death_ct [0/1] |
Allows counter-terrorists to instantly respawn after death. |
mp_respawn_on_death_t [0/1] |
Allows terrorists to instantly respawn after death. |
mp_roundtime [mins] |
Sets the round time to the specified number of minutes. |
mp_buytime [secs] |
Sets the buy time to the specified number of seconds. |
mp_roundtime_defuse [mins] |
Sets the round time on Defuse modes. |
mp_roundtime_hostage [mins] |
Sets the round time on Hostage modes. |
mp_buy_anywhere [0/1] |
Toggles whether you can enter the shop from anywhere. |
mp_maxmoney [#] |
Sets the maximum amount of money you can have. |
mp_startmoney [#] |
Sets the amount of money you start the game with. |
mp_restartgame 1 |
Restarts the match. Needed before some commands take effect. |
changelevel [map code] |
Changes the level in private matches. |
sv_lan 1 |
Starts a LAN private server. |
| Command | Description |
|---|---|
bot_kick |
Removes all bots from the server. |
bot_add |
Adds bots to the server. |
bot_place |
Spawns a bot at the position you are looking at. |
bot_crouch |
Makes all bots on the server crouch. |
bot_stop 1 |
Freezes all bots. |
bot_mimic 1 |
Forces all bots to mimic your movements. |
| Command | Description |
|---|---|
cl_drawhud [0/1] |
Toggles the in-game HUD on or off. |
cl_show_team_equipment |
Shows weapons and gear above teammates' heads. |
cl_reload_hud |
Reloads the HUD at default scale. |
r_drawtracers_firstperson [0/1] |
Toggles your firing tracers on or off. |
cl_autohelp [0/1] |
Toggles the in-game hints on or off. |
cl_hide_avatar_images [0/1] |
Toggles the visibility of player avatar images on or off. |
cq_netgraph 1 |
Displays latency data on-screen. |
cl_showfps 1 |
Displays basic FPS data on-screen. |
cl_showfps 2 |
Displays in-depth FPS data on-screen. |
cl_showfps 3 |
Displays in-depth FPS and server data on-screen. |
cl_showfps 4 |
Displays in-depth FPS data on-screen and logs it to a file. |
cl_showfps 0 |
Removes any FPS display. |
cl_disable_ragdolls [0/1] |
Toggles ragdoll physics on or off. |
cl_ragdoll_workaround_threshold [#] |
Sets the accuracy of ragdoll positions. |
| Command | Description |
|---|---|
cl_crosshairsize [#] |
Sets the crosshair size. |
cl_crosshairthickness [#] |
Sets the crosshair thickness. |
cl_crosshairdot [#] |
Sets the crosshair dot size. |
cl_crosshairgap [#] |
Sets the crosshair gap size. |
cl_crosshaircolor [1-4] |
Changes the crosshair colour to different preset colours. |
cl_crosshairstyle [0-5] |
Switches between static, dynamic and other crosshair styles. |
cl_crosshaircolor_r [#] |
Sets the amount of red in the crosshair colour. |
cl_crosshaircolor_g [#] |
Sets the amount of green in the crosshair colour. |
cl_crosshaircolor_b [#] |
Sets the amount of blue in the crosshair colour. |
cl_crosshaircolor_alpha [#] |
Sets the alpha (opacity) of the crosshair colour. |
cl_crosshair_friendly_warning [0/1] |
Toggles the crosshair friendly fire warning on or off. |
| Command | Description |
|---|---|
volume [0-1] |
Adjusts the game's master volume from 0 (muted) to 1 (max). |
voice_modenable [0/1] |
Toggles voice chat on or off. |
voice_scale [0-1] |
Adjusts teammate voice volume from 0 (muted) to 1 (max). |
voice_mute [player name] |
Mutes a particular player's voice chat. |
voice_unmute [player name] |
Unmutes a particular player's voice chat. |
| Command | Description |
|---|---|
cl_interp [#] |
Sets the interpolation time. |
cl_interp_hermite [0/1] |
Toggles hermite interpolation on or off. |
cl_updaterate [#] |
Sets the interpolation update rate. |
cl_interp_ratio [#] |
Sets the interpolation ratio. |
vprof_off |
Disables the VProf profiler. |
iv_off |
Disables the interpolation variable profiler. |
demo_flush |
Flushes the demo file to disk on every network update. |
Still stuck? Our team is on Discord, or open a ticket from the Billing Panel.