<p><strong>CSB Weapon Restrict</strong> stops players buying the weapons and equipment you do not want on your server. It hooks the direct buy alias commands (<code>ak47</code>, <code>awp</code>, <code>deagle</code>, <code>hegren</code>, <code>vesthelm</code>, and so on) and returns <code>PLUGIN_HANDLED</code> for anything restricted, telling the player exactly what is blocked in both the centre HUD and chat.</p><h2>Features</h2><ul><li>31 buyable items covered: every gun plus grenades, kevlar, defuse kit and night vision.</li><li><code>/restrictmenu</code> for admins to toggle any item live, showing <code>[BLOCKED]</code> / <code>[allowed]</code> inline.</li><li>Console commands <code>amx_restrict</code>, <code>amx_unrestrict</code> and <code>amx_restrictlist</code>.</li><li>Per-map override: <code>configs/csb_restrict/<map>.cfg</code> is executed automatically on map start.</li><li>No modules required - it loads on any AMX Mod X 1.9.</li></ul><h2>Per-map config example</h2><p><code>configs/csb_restrict/de_dust2.cfg</code>:</p><pre>amx_restrict awp
amx_restrict m249
amx_restrict elite</pre><h2>Installation</h2><ol><li>Compile, copy <code>csb_weapon_restrict.amxx</code> into <code>plugins/</code>, add it to <code>plugins.ini</code>.</li><li>Optionally create per-map cfgs under <code>configs/csb_restrict/</code>.</li><li>Change the map.</li></ol><p>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.</p>









