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

MP_WEAPONS_ALLOW_RANDOMIZE

CS:GO

If you set this command to a value over 0, each buy menu category will be filled this amount of random weapons. With this set to 1, 1 weapon from rifles would be available for purchase, 1 from pistols, etc (would be changed each round to a new random weapon).

Syntax
mp_weapons_allow_randomize [0 / Amount]

Description

If you set this command to a value over 0, each buy menu category will be filled this amount of random weapons. With this set to 1, 1 weapon from rifles would be available for purchase, 1 from pistols, etc (would be changed each round to a new random weapon).

How To Use mp_weapons_allow_randomize

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter mp_weapons_allow_randomize [0 / Amount], replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

mp_weapons_allow_randomize [0 / Amount]
0 / Amount Set to 0 disable (default). Enter a number above 0 as the desired amont of random weapons from each category you want to make available for purchase.