Daemon666 / CSB Drug Публичный

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.

v1.0.0 116 загрузок GPL-3.0 Обновлено Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Jul 12, 2025 1 Версии
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 to csb_drug_duration.
  • Targeting through cmd_target with ADMIN_IMMUNITY respected.
  • Everything is reverted on expiry, on death and on disconnect - no stuck screens.

Installation

  1. Compile csb_drug.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and 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-ы
CVARDefaultDescription
csb_drug_enabled 1 Enable or disable the command.
csb_drug_duration 20 Default drug duration in seconds.
Команды
CommandAccessDescription
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.

О плагине
  • Fun
  • Лицензия: GPL-3.0
  • Daemon666
  • Оригинальный автор: AMXX community "Drug" plugin
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Скачать .sma
Требования
AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули fakemeta
Участники
Назад к плагинам