NB! It seems this console command is not compatible with CS2.

AI_DISABLE

CS:GO

Description

Causes NPCs (bots) to bypass their logic programming and instead just perform their idle animations.

Syntax

ai_disable

Related commands

bot_add
This command adds a bot to your current game. If you specify a team (T or CT), the bot will be added to that team. You can also optionally specify a difficulty and a name (if there is an existing profile).
bot_add_ct
This console command adds a bot to the CT side. If the bot spawns dead, it will respawn at the start of the next round. You can optionally specify a difficulty and a name (if there is an existing profile).
bot_add_t
This command adds a bot to the T side. If the bot spawns dead, it will respawn at the start of the next round. You can optionally specify a difficulty and a name (if there is an existing profile).
bot_difficulty
This console command sets the difficulty of any bots you add to a private server. Set this to 0 for easy bots, 1 for normal bots, 2 for hard bots and 3 for expert bots.
bot_quota
This command adjusts the maximum number of bots you can have in your server. The default value is 10.
notarget
This command toggles whether or not bots are aware of your player. When this is enabled, bots will not attack you (or even react to you).
bot_dont_shoot
This command can be used to prevent NPC characters (bots) from being able to fire guns.
bot_knives_only
This console command forces all bots on the server to use knives.