Command Profile
MP_BUY_ALLOW_GUNS
CS2 CS:GO
This console command adjusts the rules in your server on what guns players can purchase.
Syntax
mp_buy_allow_guns [1 / 2 / 4 / 8 / 16 / 32 / 255]
Description
This console command adjusts the rules in your server on what guns players can purchase.
How To Use mp_buy_allow_guns
- Enable the developer console in Counter-Strike settings.
- Open the console with the tilde key (
~). - Enter
mp_buy_allow_guns [1 / 2 / 4 / 8 / 16 / 32 / 255], replacing bracketed arguments with the value you want, then press Enter.
This command is listed as compatible with Counter-Strike 2.
Syntax And Arguments
mp_buy_allow_guns [1 / 2 / 4 / 8 / 16 / 32 / 255]
| 1 / 2 / 4 / 8 / 16 / 32 / 255 | Enter a 1 after the command to limit players to only buying pistols. Enter a 2 to limit players to only buying SMGs. Enter a 4 to limit players to only buying rifles. Enter a 8 to limit players to only buying shotguns. Enter a 16 to limit players to only buying sniper rifles. Enter a 32 to limit players to only buying heavy machine guns (e.g. the negev.) Enter a 255 to allow players to purchase anything (default). |