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 |
---|---|---|---|
cash_player_interact_with_hostage | This command sets the money earned or lost for interacting with a hostage. By default this is $150, but can be changed to either award the player more or take money from them. |
Examples, Generator & More | cash_player_interact_with_hostage
<Money Earned/Lost>
|
cash_player_killed_enemy_default | This command sets how much money is earned or lost by killing an enemy player with a default weapon. |
Examples, Generator & More | cash_player_killed_enemy_default
<Money Earned/Lost>
|
cash_player_killed_hostage | This console command dictates how much money is earned or lost when a player kills a hostage. |
Examples, Generator & More | cash_player_killed_hostage
<Money Earned/Lost>
|
cash_player_respawn_amount | Sets how much money players respawn with. |
Examples, Generator & More | cash_player_respawn_amount
<Money Earned/Lost>
|
cash_team_rescued_hostage | This command changes the amount of money that the whole team earns for one player rescuing the hostage. |
Examples, Generator & More | cash_team_rescued_hostage
<Money Earned/Lost>
|
cash_team_survive_guardian_wave | This command sets the amount of money a team receives when they survive a wave in the guardian coop gamemode. |
Examples, Generator & More | cash_team_survive_guardian_wave
<Amount>
|
cash_team_terrorist_win_bomb | This command sets the amount of cash won by each player on the Terrorist team when they win a round by the bomb exploding. |
Examples, Generator & More | cash_team_terrorist_win_bomb
<Money Earned/Lost>
|
cash_team_win_by_defusing_bomb | This console command sets the amount of money the CT team earns for winning a round by defusing the bomb. |
Examples, Generator & More | cash_team_win_by_defusing_bomb
<Money Earned/Lost>
|
cash_team_win_by_hostage_rescue | This cheat command changes the amount of money won by team members when they win a round by rescuing a hostage. |
Examples, Generator & More | cash_team_win_by_hostage_rescue
<Money Earned/Lost>
|
cash_team_win_by_time_running_out_bomb | This command sets the amount of money that the CT players earn from winning a round by the time running out, meaning the Terrorists didn't get a bomb down or eliminate all the CT's in the required time limit. |
Examples, Generator & More | cash_team_win_by_time_running_out_bomb
|
cash_team_win_by_time_running_out_hostage | This command sets the amount of money won by the team guarding the hostages if they win the round by not allowing any hostages to be rescued within the time limit. |
Examples, Generator & More | cash_team_win_by_time_running_out_hostage
<Money Earned/Lost>
|
cash_team_winner_bonus_consecutive_rounds | This console command sets the bonus cash earned by the winning team for winning multiple rounds in a row, similarly to how losing multiple rounds in a row gives you increasingly more cash for each loss. By default this command is set to off. |
Examples, Generator & More | cash_team_winner_bonus_consecutive_rounds
<Bonus Money>
|
cast_aabb | This command is used for testing Axis-Aligned Bounding Box (AABB) collision detection in the game. |
Examples, Generator & More | cast_aabb
|
cast_bullet | This command is utilized to test the trajectory and effect of a bullet in-game, primarily used for debugging and testing purposes. |
Examples, Generator & More | cast_bullet
|
cast_capsule | This command tests capsule collision detection, useful for developers when testing or debugging games physics or interaction models. |
Examples, Generator & More | cast_capsule
|
cast_convex | This command tests the convex hull collision detection system within CS2, primarily used for debugging and optimizing in-game physics and collision detection mechanisms. |
Examples, Generator & More | cast_convex
|
cast_cylinder | This command is used to test cylinder collision detection in the game, useful for developers for debugging and testing purposes. |
Examples, Generator & More | cast_cylinder
|
cast_intervals | This command is utilized to test the interval ray casting functionality, primarily useful in development and debugging scenarios. |
Examples, Generator & More | cast_intervals
|
cast_obb | This command is used to test cylinder collision detection, primarily useful for developers or during map testing to ensure objects interact correctly with the game's physics. |
Examples, Generator & More | cast_obb
<0 / 1>
|
cast_physics | Tests physics shape collision detection. This command is primarily used for debugging purposes, allowing developers or server administrators to test how different physical shapes interact in the game world. It requires cheat mode to be enabled as it might interfere with the normal game mechanics. |
Examples, Generator & More | cast_physics
|