CSB Disco Lights

v1.0.0 0 descargas Daemon666 Última actualización: Jul 15, 2026

Admin party mode: cycles the map light style through flicker patterns and spawns coloured dynamic lights around every player for a set time, then restores the lighting.

CSB Disco Lights turns the server into a dance floor on command. amx_disco [0|1] starts (or stops) a party: the map light style is rotated twice a second through a set of flicker patterns while a coloured TE_DLIGHT pops over every player, so the whole level pulses with random colour. When the timer runs out - or an admin toggles it off - the lighting is restored with set_lights("#OFF").

Features

  • amx_disco toggles, or amx_disco 1 / amx_disco 0 forces on/off.
  • Runs for csb_disco_duration seconds, then auto-restores the normal lighting.
  • Rotating map light styles plus a random-colour dynamic light on each alive player.
  • Lighting is also restored on plugin unload so it never gets stuck.

Installation

  1. Compile csb_disco_lights.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

amx_disco needs the ADMIN_LEVEL_A flag (b) by default.

Instalación

1. Put csb_disco_lights.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map

Cvars

CVARDefaultDescription
csb_disco_enabled 1 Enable or disable the command.
csb_disco_duration 30 How many seconds a disco lasts.

Comandos

CommandAccessDescription
amx_disco b (ADMIN_LEVEL_A) amx_disco [0|1] - start or stop disco party mode.

Registro de cambios — v1.0.0

1.0.0 - Initial release.
Versiones →
Colaboradores: Daemon666 ✦
Licencia: GPL-3.0

Valoración

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descargar .sma
Archivos:
csb_disco_lights.sma main 4.3 KB

Requisitos

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcional
ReAPI Opcional
Metamod Metamod / Metamod-r
Conflictos conocidos Other plugins that drive map light styles (day/night, weather) will fight the disco for control of set_lights.
Volver a Plugins