Promuj serwer

CSB Drug v1.0.0

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.

Instalacja
1. Put csb_drug.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map
Cvary2
CVARDefaultDescription
csb_drug_enabled1Enable or disable the command.
csb_drug_duration20Default drug duration in seconds.
Komendy1
CommandAccessDescription
amx_drugh (ADMIN_SLAY)amx_drug <target> [seconds] - drug a player's screen.
Ocena
Brak ocen