
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Category: settings (148)
mp_buymenu
Categories
settings, server
Parameters
- items (text): a list of item ids that can be bought or an empty string for the default buy menu
Info
Changes the buy menu. By default this setting is set to an empty string (""). The game will then use the standard buy menu.
You can specify a custom buy menu by entering a list of item ids. you have to separate the IDs with , and |. , separates the items in a group and | separates the groups.
The groups are the following:
handgun|shotgun|sub machine gun|rifle|machine gun|equipment
Each group can have up to 9 items.
Weapon and item IDs:

Sample:
mp_buymenu "1,2|11|20,22|30||51"
This sample will create a buy menu with the handguns USP (1) and Glock (2), the shotgun XM1014 (11), the sub machine guns MP5 (20) and P90 (22), the rifle AK-47 (30), no machine guns and a HE (51) as equipment.
You can specify a custom buy menu by entering a list of item ids. you have to separate the IDs with , and |. , separates the items in a group and | separates the groups.
The groups are the following:
handgun|shotgun|sub machine gun|rifle|machine gun|equipment
Each group can have up to 9 items.
Weapon and item IDs:

Sample:
mp_buymenu "1,2|11|20,22|30||51"
This sample will create a buy menu with the handguns USP (1) and Glock (2), the shotgun XM1014 (11), the sub machine guns MP5 (20) and P90 (22), the rifle AK-47 (30), no machine guns and a HE (51) as equipment.






