CSB C4 Timer

v1.0.0 0 descărcări Daemon666 Ultima actualizare: Jul 14, 2026

Live HUD countdown after the bomb is planted, colour-coded, with a per-CT defusable / too-late notice.

CSB C4 Timer shows a live countdown of the seconds left on a planted bomb, computed from mp_c4timer and the exact plant time. The fuse colour ramps from green to amber to red, an intensity bar fills as the explosion nears, and each living CT is told whether they can still defuse in time given their defuse kit.

How it works

The plant is detected through the Planted_The_Bomb log event; a fast HUD task then draws the countdown to everyone. For each CT the plugin compares the time left against the stock defuse timings (10 s without a kit, 5 s with one, read via cs_get_user_defuse) and prints either "Defusable" or "TOO LATE to defuse". The timer stops on defuse, on explosion, or when a new round starts.

Features

  • Exact seconds-left countdown based on the real plant time.
  • Green → amber → red colour ramp plus a fill bar for urgency.
  • Per-CT defusable / too-late notice using the player's defuse kit.
  • Cleans up correctly on defuse, explosion and round restart.

Inspired by the classic C4 Timer plugins for AMX Mod X; this is an independent GPL re-implementation.

Installation

  1. Compile and copy csb_c4_timer.amxx into addons/amxmodx/plugins/.
  2. Make sure the cstrike module is enabled (it is by default).
  3. Add it to plugins.ini and change the map.

Instalare

1. Put csb_c4_timer.amxx in addons/amxmodx/plugins/
2. Add it to plugins.ini
3. Change map. mp_c4timer controls the fuse length.

Cvar-uri

CVARDefaultDescription
csb_c4timer_enabled 1 Enable or disable the C4 timer HUD.
csb_c4timer_beep 1 Show the urgency fill bar next to the countdown.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Autor original: AMX Mod X community (C4 Timer) Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma
Fișiere:
csb_c4_timer.sma main 4.5 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Module cstrike
Conflicte cunoscute Other C4 timer HUD plugins will draw on top of this one.
Înapoi la Pluginuri