Escort Receipt 1.0.0 (olds.ro)
==============================
Hostage rescue: when the round ends, everyone gets a short receipt naming,
for each hostage, the player who first led it (the escort) and the player who
brought it to the rescue zone (the rescuer).
Escort receipt for this round:
Hostage 1: escort Alpha, rescuer Bravo
Hostage 2: Alpha (escort and rescuer)
Hostage 3: lost; escort Charlie
Hostage 4: not rescued; escort Bravo
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer (hamsandwich)
Install
1. Compile scripting/olds_escort.sma and copy olds_escort.amxx to
addons/amxmodx/plugins/; add it to plugins.ini.
The compiler needs ReAPI's include files next to the stock includes.
2. Copy data/lang/olds_escort.txt to addons/amxmodx/data/lang/.
Use
olds_escort_status this round's hostages, escorts and rescuers (ADMIN_CFG)
Settings (addons/amxmodx/configs/plugins/olds_escort.cfg, created on first run)
olds_escort_show 1 1 = print the receipt to everyone once at round end
How it is recorded
- Escort: the first living counter-terrorist to use the hostage this round
(Ham_Use on hostage_entity or monster_scientist).
- Rescuer: the player the game names in its "Rescued_A_Hostage" log event;
the hostage that has just left play, following that player, is matched to
it. If nobody used the hostage first, the rescuer is also its escort.
- Lost: a hostage killed before it was rescued (Ham_Killed).
- Records are keyed by the hostage entity and a round counter: events from
an earlier round, a second rescue event for the same hostage or an entity
that no longer exists are ignored.
- Hostages nobody used are left out; with none used, nothing is printed.
Hostages are numbered in map order.
No downloads: the receipt is chat text only and no sound is played.