Viewmodel & HUD Commands
Control weapon model placement and on-screen HUD elements.
All Viewmodel & HUD Commands (24)
viewmodel_fovviewmodel_offset_xviewmodel_offset_yviewmodel_offset_zviewmodel_presetposcl_righthandcl_bobamt_latcl_bobamt_vertcl_bob_lower_amtcl_bobcyclecl_showfpscl_showposcq_netgraphcl_drawhudsv_cheatscl_draw_only_deathnoticessv_cheatshud_scalingcl_hud_colorcl_hud_background_alphacl_hud_healthammo_stylecl_hud_playercount_showcountcl_hud_playercount_poscl_showloadoutsafezonexsafezoneyOther Command Categories
Related Resources
Frequently Asked Questions
How many viewmodel & hud commands are there in CS2?
There are 24 viewmodel & hud commands in CS2. 22 can be used in any game mode, and 2 require sv_cheats 1.
Which viewmodel & hud commands require sv_cheats?
2 of the 24 viewmodel & hud commands require sv_cheats 1. These are only usable in private servers or offline practice mode and are blocked in competitive matchmaking.
How do I use viewmodel & hud commands in CS2?
Open the developer console by pressing the tilde key (~). If it does not open, enable it in Settings > Game > Enable Developer Console. Then type the command and press Enter. You can add these commands to your autoexec.cfg for them to run automatically on launch.
How do I save console commands permanently?
Create an autoexec.cfg file in your CS2 cfg folder (Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/) and add your commands there. End the file with host_writeconfig. These commands run automatically every time CS2 launches.