Продвинуть сервер
csb-drug-plugin / README.md
1 lines 1.1 KiB Markdown Source Rendered Raw Permalink History
<p><strong>CSB Drug</strong> is the classic joke command, rebuilt cleanly. <code>amx_drug &lt;target&gt; [seconds]</code> hits the victim with a repeating cocktail of a random-colour <code>ScreenFade</code>, a <code>ScreenShake</code> and randomised view punch angles (set through fakemeta) so their screen swims. It is a task-driven effect, not a one-shot, and it clears itself when the timer runs out, on death, or on disconnect.</p><p>Inspired by the well-known AMX Mod X "Drug" plugin. Independent GPL re-implementation; no original code is reused.</p><h2>Features</h2><ul><li><code>amx_drug &lt;name or #userid&gt; [seconds]</code> - defaults to <code>csb_drug_duration</code>.</li><li>Targeting through <code>cmd_target</code> with <code>ADMIN_IMMUNITY</code> respected.</li><li>Everything is reverted on expiry, on death and on disconnect - no stuck screens.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_drug.sma</code> and copy it to <code>addons/amxmodx/plugins/</code>.</li><li>Add it to <code>plugins.ini</code> and change the map.</li></ol><p><code>amx_drug</code> needs the <code>ADMIN_SLAY</code> flag (<code>h</code>) by default.</p>