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_only_cts_rescue_hostages | This command, if set to 1 (default on all game modes with the exception of Danger Zone), will make it so that only counter-terrorist players can rescue hostages. Set to 0 to allow all players to rescue hostages. |
Examples, Generator & More | mp_only_cts_rescue_hostages
<0 / 1>
|
mp_overtime_enable | This command can be used to enable or disable overtime. Overtime is when extra rounds are played out to decide a winner, if the match ends with a tie. By default this is disabled (0). Set the amount of overtime rounds with mp_overtime_maxrounds. |
Examples, Generator & More | mp_overtime_enable
<0 / 1>
|
mp_overtime_halftime_pausetimer | This command can be used to enable or disable the pausing of the match in between each overtime half. If set to 1 (enabled), the match will pause after each overtime half and require a manual unpause before it is resumed. Default is 0 (off). |
Examples, Generator & More | mp_overtime_halftime_pausetimer
<0 / 1>
|
mp_overtime_maxrounds | This command sets the maximum amount of rounds for each overtime session. Half time will be made at half of this value (i.e. at 6 max rounds, half time will be after 3 rounds). |
Examples, Generator & More | mp_overtime_maxrounds
<Amount>
|
mp_overtime_startmoney | This command sets the amount of cash that players start with at the beginning of each overtime half. Default is 10,000. |
Examples, Generator & More | mp_overtime_startmoney
<Amount>
|
mp_pause_match | This command will pause the match at the end of the current round. Resume with mp_unpause_match. |
Examples, Generator & More | mp_pause_match
|
mp_plant_c4_anywhere | This command, if set to 1, allows players to plant C4s at any location. If set to 0, the C4 can only be planted at bomb sites. |
Examples, Generator & More | mp_plant_c4_anywhere
<0 / 1>
|
mp_playercashawards | This command sets whether or not players should be able to earn money for performing in-game actions. |
Examples, Generator & More | mp_playercashawards
<0 / 1>
|
mp_playerid | This command sets what players can see in the status bar. See argument information for help. |
Examples, Generator & More | mp_playerid
<0 / 1 / 2>
|
mp_playerid_delay | This command sets the amount of time, in seconds, that the game should wait before showing information in the status bar. Default is 0. |
Examples, Generator & More | mp_playerid_delay
|
mp_playerid_hold | This command sets the amount of seconds the status bar should hold old information for before updating with new information. Default is 0 (always updating). |
Examples, Generator & More | mp_playerid_hold
<Seconds>
|
mp_randomspawn | This command sets whether or not players should spawn randomly (e.g. in deathmatch). If not enabled (default for non-deathmatch gamemodes), players will spawn at the map's spawn locations (T or CT spawn, relative to team). See argument information for help. |
Examples, Generator & More | mp_randomspawn
<0 / 1 / 2 / 3>
|
mp_randomspawn_dist | If you are using the mp_randomspawn command, this command is used to determine whether or not you test distance with that setting. |
Examples, Generator & More | mp_randomspawn_dist
<0 / 1>
|
mp_randomspawn_los | This command, if enabled, will make the server try to spawn players outside of the line of sight of another player (i.e. spawn players in locations that other players aren't looking at). |
Examples, Generator & More | mp_randomspawn_los
<0 / 1>
|
mp_require_gun_use_to_acquire | This command, if set to 1, will make it so that guns must be +used on (usually the E key) in order to be picked up by players. Default is 0 (guns are picked up when they are walked over). |
Examples, Generator & More | mp_require_gun_use_to_acquire
<0 / 1>
|
mp_respawn_immunitytime | This command sets how many seconds players will be immune for after they respawn, used for deathmatch gamemodes. Default is 0 in non-deathmatch gamemodes. |
Examples, Generator & More | mp_respawn_immunitytime
<Seconds>
|
mp_respawn_on_death_ct | This command will set whether or not counter-terrorists will respawn after dying. |
Examples, Generator & More | mp_respawn_on_death_ct
<0 / 1>
|
mp_respawn_on_death_t | This command will set whether or not terrorists will respawn after dying. |
Examples, Generator & More | mp_respawn_on_death_t
<0 / 1>
|
mp_respawnwavetime_ct | This command sets how often "respawn waves" happen, in seconds, for CT players. Respawn waves respawn all dead players. At 10 seconds, every 10 seconds any dead CT players will be respawned. Requires mp_respawn_on_death_ct to be set to 1. |
Examples, Generator & More | mp_respawnwavetime_ct
<Seconds>
|
mp_respawnwavetime_t | This command sets how often "respawn waves" happen, in seconds, for terrorist players. Respawn waves respawn all dead players. At 10 seconds, every 10 seconds any dead terrorist players will be respawned. Requires mp_respawn_on_death_t to be set to 1. |
Examples, Generator & More | mp_respawnwavetime_t
<Seconds>
|