amx_drug scrambles a target's screen for a set time with repeated random ScreenFade colours, a ScreenShake and randomised punchangles, then restores the view.
Daemon666
1.0.0 - Initial release.
| csb_drug.sma main | 4b91fe2 | 4.8 KB |
README.md
CSB Drug is the classic joke command, rebuilt cleanly. amx_drug <target> [seconds] hits the victim with a repeating cocktail of a random-colour ScreenFade, a ScreenShake 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.
Inspired by the well-known AMX Mod X "Drug" plugin. Independent GPL re-implementation; no original code is reused.
Features
amx_drug <name or #userid> [seconds]- defaults tocsb_drug_duration.- Targeting through
cmd_targetwithADMIN_IMMUNITYrespected. - Everything is reverted on expiry, on death and on disconnect - no stuck screens.
Installation
- Compile
csb_drug.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
amx_drug needs the ADMIN_SLAY flag (h) by default.
Установка
1. Put csb_drug.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvar-ы
| CVAR | Default | Description |
|---|---|---|
csb_drug_enabled |
1 |
Enable or disable the command. |
csb_drug_duration |
20 |
Default drug duration in seconds. |
Команды
| Command | Access | Description |
|---|---|---|
amx_drug |
h (ADMIN_SLAY) |
amx_drug <target> [seconds] - drug a player's screen. |
История изменений — v1.0.0
1.0.0 - Initial release.Версии →
Рейтинг
No ratings yet.
О плагине
Download v1.0.0
Требования
| AMX Mod X | ≥ 1.9 |
| Движок | ReHLDS HLDS |
| ReGameDLL | Необязательно |
| ReAPI | Необязательно |
| Metamod | Metamod / Metamod-r |
| Модули | fakemeta |
Участники









