{ "name": "CSB Weapon Restrict", "category": "weapons", "tags": "restrict, buy, amx_restrict", "image": "", "original_author": "AMX Mod X (Restrict Weapons)", "original_url": "", "license": "GPL-3.0", "title": "CSB Weapon Restrict", "short_desc": "Blocks selected weapons and equipment from being bought by hooking the buy alias commands, with a live admin toggle menu and a per-map config.", "version": "1.0.0", "amxx_min": "1.9", "amxx_compile_default": "1.9", "rehlds_ok": true, "hlds_ok": true, "regamedll_required": false, "metamod_flavor": "any", "reapi_required": false, "modules": "", "install_notes": "1. Put csb_weapon_restrict.amxx in addons/amxmodx/plugins/\n2. Add it to plugins.ini\n3. Optionally create configs/csb_restrict/.cfg files\n4. Change map", "known_conflicts": "Other buy-restrict plugins (amx_restrict etc.) - run only one.", "cvars": [ { "name": "csb_restrict_enabled", "default": "1", "description": "Enable or disable buy restrictions." } ], "commands": [ { "name": "say /restrictmenu", "access": "o (ADMIN_CVAR)", "description": "Toggle restrictions from a live menu." }, { "name": "amx_restrict", "access": "o (ADMIN_CVAR)", "description": "amx_restrict - restrict an item." }, { "name": "amx_unrestrict", "access": "o (ADMIN_CVAR)", "description": "amx_unrestrict - allow an item again." }, { "name": "amx_restrictlist", "access": "o (ADMIN_CVAR)", "description": "List currently restricted items." } ], "main": "addons/amxmodx/scripting/csb_weapon_restrict.sma" }