Captain's Succession Card 1.0.0 (olds.ro)
=========================================
Captain modes: records who was each team's captain during the round, when
the role changed hands, and how long it stood vacant, and shows both teams'
cards to everyone once the round has ended:
T: (vacant) 0:00-0:20, Alpha 0:20-1:45
CT: Bravo 0:00-0:52, Charlie 0:52-1:45
Times are from the start of the round.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer
- A captain mod that reports the captains through this plugin's native
(directly, or through a small bridge plugin)
Install
1. Compile scripting/olds_succession.sma and copy olds_succession.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
2. Copy data/lang/olds_succession.txt to addons/amxmodx/data/lang/.
3. Copy scripting/include/olds_succession.inc next to the mod's sources.
Use
say /captains the last round's card (only once the round has ended)
Settings (addons/amxmodx/configs/plugins/olds_succession.cfg, created on first run)
olds_succession_max 6 entries kept per team per round (2-12); more are
shown as "..."
For the captain mod (include/olds_succession.inc, library "olds_succession")
olds_succession_set(team, id) team 1 = T, 2 = CT; id = new captain, or 0
when the role is vacant
Call it on every assignment, replacement or vacancy. Each team starts every
round vacant until a captain is named; a captain leaving the server leaves
the role vacant. Vacancies under one second are not listed.
Rounds: the card is revealed only at the real round end (also a round closed
by another plugin, checked every second). Game Commencing or sv_restart
clears everything.
No downloads: chat text.