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

MP_DM_BONUS_RESPAWN

CS:GO

This command is used in deathmatch. When there's a bonus weapon, this command determines whether, when accepting it, you are given it auotmatically or if you respawn with it.

Syntax
mp_dm_bonus_respawn [0 / 1]

Description

This command is used in deathmatch. When there's a bonus weapon, this command determines whether, when accepting it, you are given it auotmatically or if you respawn with it.

Syntax And Arguments

mp_dm_bonus_respawn [0 / 1]
0 / 1 Enter a 1 after the command to be given the weapon automatically, and a 0 after the command to be given the weapon by making you respawn with it (default).