CSB Weapon Restrict stops players buying the weapons and equipment you do not want on your server. It hooks the direct buy alias commands (ak47, awp, deagle, hegren, vesthelm, and so on) and returns PLUGIN_HANDLED for anything restricted, telling the player exactly what is blocked in both the centre HUD and chat.
/restrictmenu for admins to toggle any item live, showing [BLOCKED] / [allowed] inline.amx_restrict, amx_unrestrict and amx_restrictlist.configs/csb_restrict/<map>.cfg is executed automatically on map start.configs/csb_restrict/de_dust2.cfg:
amx_restrict awp amx_restrict m249 amx_restrict elite
csb_weapon_restrict.amxx into plugins/, add it to plugins.ini.configs/csb_restrict/.Inspired by the AMX Mod X "Restrict Weapons" plugin; independent GPL re-implementation. It blocks the direct buy commands - which is how weapons are actually purchased - rather than editing the buy menu.