Return Receipt 1.0.0 (olds.ro)
==============================
When a team captures the enemy flag, its players get a receipt in chat naming
every teammate who carried that flag on the way to the capture, each once,
in team colour, with the stock capture cue.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer
- The "Just Capture the Flag" core (jCTF by Digi). Verified with 1.32o; other
versions load with a warning in the AMXX log. Without the core the plugin stops
with a clear message.
Install
1. Compile scripting/olds_receipt.sma and copy olds_receipt.amxx to addons/amxmodx/plugins/.
The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc
files from the ReAPI release, addons/amxmodx/scripting/include/) next to
the stock AMX Mod X includes; a stock install does not have them. jctf.inc is not needed.
2. Copy data/lang/olds_receipt.txt to addons/amxmodx/data/lang/.
3. Add olds_receipt.amxx to plugins.ini.
Settings (addons/amxmodx/configs/plugins/olds_receipt.cfg, created on first run)
olds_receipt_show 1 0 nobody, 1 the capturing team only, 2 everyone
Commands
olds_receipt_status both flags' pending attempts and carriers (ADMIN_CFG)
How a receipt is built
- An attempt starts when the flag is stolen from its base. Every player who
picks it up afterwards is added once, by player (a reconnect counts as a new player).
- Drops keep the attempt going. A return by the flag's team, an automatic
return, an admin return or a new round throws the attempt away.
- The capture prints the receipt; a carrier who has left the server is still named.
- Up to 8 carriers are named; any more are counted as "and N more".
- Each capture is also written to the AMXX log with its carriers, even with olds_receipt_show 0.
Sound
The capture cue is the game's own sound/events/task_complete.wav; nothing is downloaded.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.