This guide was created with the following products: Gravel Host CS2 Server
Here's how to easily open the Counter-Strike 2 console from in-game:
Here is a list of the most useful Counter-Strike 2 console commands we've found, complete with descriptions and instructions on how to use each command.
Console Command | Brief Description |
---|---|
fps_max [#] | Caps the FPS. Set to 0 for no limit! |
bind [action] [key] | Binds an action to a hotkey e.g. jump throw bind. |
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. |
disconnect | Disconnect from the current server. |
quit | Quit Counter-Strike 2. |
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 and logs to file in-depth FPS data on-screen. |
cl_showfps 0 | Removes any FPS display. |
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). |
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 minutes. |
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. |
sv_lan 1 | Starts a LAN private server. |
mp_restartgame 1 | Restarts match. Needed before some commands take effect. |
changelevel [map code] | Changes the level in private matches. |
launch_warmup_map [map name] | Starts a practice mode match on the specified map. |
sensitivity [#] | Changes your mouse sensitivity. |
viewmodel_fov [#] | Changes your field of view. |
ent_bbox | Displays an object's collision box in orange. |
bot_kick | Removes all bots from the server. |
bot_add | Adds bots to the server. |
bot_place | Spawns a bot at the position you're 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. |
cl_disable ragdolls [0/1] | Toggles ragdoll physics on or off. |
cl_ragdoll_workaround_threshold [#] | Sets the accuracy of ragdoll positions. |
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. |
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. |
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 | Flush writing the demo file every network update. |
For more assistance regarding changing your server icon or other FiveM server-related queries, please visit or join our community on Discord