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 |
---|---|---|---|
mp_restartgame | This command will restart the game. If you specify a number as a parameter, this amount of seconds will be counted down before the restart happens. | Examples, Generator & More | mp_restartgame <Seconds> |
mp_round_restart_delay | This command sets the delay before the next round starts after a round has been won. | Examples, Generator & More | mp_round_restart_delay <Seconds> |
mp_roundtime | This command sets the maximum amount of minutes that a round takes before it is won/lost. In demolition, after this time is up, the round win is handed to the counter-terrorists. Use decimals for seconds, 1.92 = 1m55s. | Examples, Generator & More | mp_roundtime <Minutes> |
mp_roundtime_defuse | If this command is set to 0, mp_roundtime is used for round time. This command sets the amount of time that a round in any bomb-defusal gamemode takes, in minutes. Use decimals for seconds. | Examples, Generator & More | mp_roundtime_defuse <Minutes> |
mp_roundtime_hostage | If this command is set to 0, mp_roundtime is used for round time. This command sets the amount of time that a round in any hostage gamemode takes, in minutes. Use decimals for seconds. | Examples, Generator & More | mp_roundtime_hostage <Minutes> |
mp_scrambleteams | This command randomizes the teams (switches Ts to CTs and vice versa randomly) and restarts the game. | Examples, Generator & More | mp_scrambleteams |
mp_solid_teammates | This command sets whether or not your teammates are solid. If teammates are solid, you cannot walk through them. Default is 1 (enabled, meaning you can't walk through your teammates). | Examples, Generator & More | mp_solid_teammates <0 / 1> |
mp_spawnprotectiontime | If someone team kills within the amount of time set by this command after round start (i.e. if someone kills someone within 5 seconds of the round starting), they will be kicked from the server. You can disable this by setting the command to 0. | Examples, Generator & More | mp_spawnprotectiontime <Seconds> |
mp_spec_swapplayersides | This command toggles the sides on which the player/team names are on when spectating. Default is 0, set to 1 to move to other side. | Examples, Generator & More | mp_spec_swapplayersides <0 / 1> |
mp_spectators_max | This command sets the maximum amount of spectators that a game can have. | Examples, Generator & More | mp_spectators_max <Amount> |
mp_starting_losses | This command is used to set what the initial loss streak is. It means you can collect the max loss bonus quicker. | Examples, Generator & More | mp_starting_losses <Loss Streak> |
mp_startmoney | This command sets how much money players are given at the beginning of a half. Default is 800. | Examples, Generator & More | mp_startmoney <Amount> |
mp_swapteams | This command switches the teams (Ts would play as CTs and vice versa) and restarts the game (including scores). | Examples, Generator & More | mp_swapteams |
mp_tagging_scale | This console command is used to adjust the level of tagging players take when hit. | Examples, Generator & More | mp_tagging_scale <Tagging Value> |
mp_taser_recharge_time | This console command sets the recharge time when using the taser/zeus. | Examples, Generator & More | mp_taser_recharge_time <Time> |
mp_td_dmgtokick | This command sets the amount of damage that a player has to do to their teammates in order to get kicked. | Examples, Generator & More | mp_td_dmgtokick <Amount> |
mp_td_dmgtowarn | This command sets the total damage level at which players are warned they might be kicked from the server. | Examples, Generator & More | mp_td_dmgtowarn <Amount> |
mp_t_default_grenades | This command sets the default grenades that terrorists spawn with. Default is none (0). Separate multiple grenades with spaces. | Examples, Generator & More | mp_t_default_grenades <Grenade Code(s)> |
mp_t_default_melee | This command sets the default melee weapon that terrorists spawn with at the start of the round. Default is weapon_knife. | Examples, Generator & More | mp_t_default_melee <Weapon Code(s)> |
mp_t_default_primary | This command sets the default primary weapon that terrorists spawn with at the start of the round. Default is none (0). | Examples, Generator & More | mp_t_default_primary <Weapon Code(s)> |