MP_BUY_ALLOW_GUNS

CS2 CS:GO

Description

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]

Arguments

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).

Popular categories

Bot
HUD

Related commands

mp_buy_allow_grenades
This command sets whether or not players can purchase any form of grenade from the buy menu. Default is 1 (enabled).
mp_buytime
This command sets the amount of time (in seconds) that players have after a round starts to purchase items. This is the time period AFTER the round countdown. So players have the countdown at the start of the round (usually 15 seconds), plus this time period to buy.
mp_buy_anywhere
This command can be used to set whether or not players can access the buy menu when they are outside of the buyzone. Note that they still need to be within the buy time period - you can change the buy time period with mp_buytime.
mp_buy_during_immunity
This command makes it so that players can buy when they are immune, regardless of the current buy time. This is used commonly in deathmatch servers. See argument information for options. Default is 0 (disabled).
cl_dm_buyrandomweapons
When this command is enabled, each time you spawn in deathmatch you will have a random weapon.
game_mode
This command can be used in conjunction with the game_type command to change the type of game you are playing (casual, deathmatch, etc). See argument information for help.
game_type
This command can be used with the game_mode command to change the game you are playing (e.g. arms race, competitive, etc). See argument information for combinations and help.
give
This command will give you the item with the specified item code. Find item codes on our give command list.