|Availability|| Counter-Strike: Source|
Counter-Strike: Global Offensive
Buy is a non-cheat command for players to purchase weapons and equipment with their funds while they are allowed to buy, i.e. if the mp_buytime hasn't expired yet and if they are inside a
Note: The command buy also exists in , and but simply opens the buy menu. For that purpose, and have the command buymenu instead.
buy <item alias>
If the command is invoked with invalid or no arguments, it prints a list of valid arguments.
There is the alternative syntax buy <?> <int>.
Todo: What is the first parameter for? Appears to work with any first non-empty parameter.
Note: Everything has a string alias except for the Riot Shield. Use
even though heavyarmor is still listed when invoking buy with invalid or no arguments.
Tip: To prevent weapons from being purchased, see
Related Console Commands and Variables
|autobuy||ConCommand||Attempts to purchase items with the order listed in cl_autobuy. Buys at most one primary and at most one secondary.|
|cl_autobuy||""||A space-delimited list of buy aliases (see above) in the order in which autobuy will attempt to purchase them. See |
|rebuy||ConCommand||Attempts to repurchase items with the order listed in cl_rebuy. By default, this results in trying to buy the exact loadout that the executing player had when they had bought something for the last time.|
|cl_rebuy||""||A space-delimited list of item categories in the order in which rebuy will attempt to repurchase them. Categories are: PrimaryWeapon, PrimaryAmmo, SecondaryWeapon, SecondaryAmmo, Defuser, Armor, HEGrenade, Flashbang, SmokeGrenade, NightVision ( Molotov, IncGrenade, Decoy, Taser). See |
|buymenu||ConCommand||Opens or closes the buy menu.|
In Retakes, shows or hides the loadout cards in the freezetime or during warmup.
|mp_buytime||1.5 90||The time in minutes / seconds from the start of the round that players are still allowed to buy.|
|mp_buy_anywhere||0||Determines which teams are allowed to buy anywhere in the map and not just in func_buyzones.
|sv_buy_status_override||-1||Overrides which teams are allowed to buy at all. Changing this value takes effect in the next round.