BOT_KNIVES_ONLY

Description

This console command forces all bots on the server to use knives.

Syntax

bot_knives_only [0 / 1]

Arguments

0 / 1 Enter 1 to only allow bots to use knives, and 0 to turn the command off. Enter mp_restartgame 1 after this command for it to take effect.

Related commands:

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_snipers_only
This cheat command restricts bots to only be able to use sniper rifles, such as the AWP.
bot_pistols_only
Restricts bots on your server to only use pistols, meaning they can't use other weapons like Rifles or SMGs.
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.