Daemon666 / CSB Timeleft HUD Публичен

Permanent HUD countdown of the map time left, colour-coded, with 10/5/1 minute announcements.

v1.0.0 135 изтегляния GPL-3.0 Последна актуализация Aug 24, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Jul 12, 2025 1 Версии
csb_timeleft_hud.sma main 162eff2 3.8 KB
README.md

CSB Timeleft HUD keeps the remaining map time on screen at all times, refreshed once a second from get_timeleft(). The colour shifts from light blue to amber under five minutes and to red in the final minute, and the server announces the milestones in coloured chat so nobody is surprised by a map change.

Features

  • Always-on HUD element using a hud sync object (no flicker).
  • Colour ramps with urgency: blue → amber (5 min) → red (1 min).
  • Coloured chat announcements at 10, 5 and 1 minute(s) left (csb_timeleft_announce).
  • Handles maps with no time limit gracefully (shows "no limit").
  • say /timeleft for an on-demand check.
  • HUD position is configurable with csb_timeleft_x / csb_timeleft_y.

Installation

  1. Compile and copy csb_timeleft_hud.amxx into addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

Uses only core natives, so no extra modules are required. The announcements use client_print_color, which needs AMX Mod X 1.9 or newer.

Инсталация
1. Put csb_timeleft_hud.amxx in addons/amxmodx/plugins/
2. Add it to plugins.ini
3. Change map
Cvar-и
CVARDefaultDescription
csb_timeleft_enabled 1 Enable or disable the HUD.
csb_timeleft_x 0.02 HUD X position (0.0-1.0, -1 = centre).
csb_timeleft_y 0.90 HUD Y position (0.0-1.0, -1 = centre).
csb_timeleft_announce 1 Announce 10/5/1 minutes left in chat.
Команди
CommandAccessDescription
say /timeleft Show the remaining map time to yourself.
Списък с промени — v1.0.0
1.0.0 - Initial release.
Версии →
Оценка

No ratings yet.

Относно
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Изтегли .sma
Изисквания
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Известни конфликти Other permanent timeleft HUD plugins will overlap on screen.
Сътрудници
Обратно към плъгините