Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Alexit/

Bomb Countdown Display

Plugin
Alexit243e494d69Version 1.0: First release.History
addonsVersion 1.0: First release.
README.txtVersion 1.0: First release.
Bomb Countdown Display 1.0.0 (olds.ro) ====================================== Once the bomb is planted, every player sees the seconds left before it explodes, counting down each second. Three styles: a plain number, a short text, or a number that turns red in the last 10 seconds. Each player can switch it off and on with /c4timer. - olds_c4t_style 0: "45"; 1: "Bomb explodes in 45 s"; 2: "45", turning red in the last 10 seconds. - The countdown starts at the plant (mp_c4timer, 45 by default) and ends when the bomb is defused, explodes or the round restarts. It is never shown in the next round. - Every player sees it, dead players and spectators too, unless he switched it off with /c4timer (remembered until he leaves). - Colour and position: olds_c4t_color, olds_c4t_x, olds_c4t_y (top centre by default). - Each number lives 0.9 s. Director HUD texts cannot be cleared, so after a defuse the last number is gone within 0.9 s. Requirements - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI - AMX Mod X 1.10.0.5490 or newer Install 1. Compile scripting/olds_c4timer.sma and copy olds_c4timer.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes. 2. Copy data/lang/olds_c4timer.txt to addons/amxmodx/data/lang/. 3. Copy configs/plugins/olds_c4timer.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.) 4. Add olds_c4timer.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_c4timer.cfg) olds_c4t_style 0 0 number, 1 text, 2 number turning red in the last 10 seconds olds_c4t_color "255 255 0" colour (red green blue, 0-255) olds_c4t_x -1.0 horizontal position (-1 = centre) olds_c4t_y 0.1 vertical position (0.0 top, 1.0 bottom) Commands say /c4timer, say_team /c4timer switch the countdown off or on for yourself Texts "Bomb explodes in 45 s" and the /c4timer chat lines are in data/lang/olds_c4timer.txt and can be translated there. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0109. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later).

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.