I've coded a plugin to insert a leader announcement into the mod it is run on. I've only tested it on CS1.6, but I don't see any reason why it shouldn't work on other mods, too.
You will find the following sound files in the zip:
The first three are extracted from Quake3 Arena and they will be played the way Q3A does, and the plugin will show a HUD message who's leader at the moment.
There are the following commands and CVars:
this is the minimum amount of kills needed before the plugin does anything. prevents players from becoming spammed at round start.
Default value is 3.
This shows a HUD message to the player who said it, who's leading in the moment and how many kills he has.
If someone planted / defused the bomb, their three kills will be automatically counted if this cvar is set to 1. if you use my script to prevent the bomb score being counted
, disable this cvar to not mess things up.
amx_lead_leadername, amx_lead_leaderkills, amx_lead_leaderuid
these save the latest leader status for other scripts to use. changing them will not make any difference to the script at all.
People who have dled the older Version (with only three sounds in the package) should update to this one, I'm not planning further updates (atm...)
NEWEST VERSION: 3.1
After quite a long discussion with mrshiftyswitchblade, I decided to add credits to readme.txt, the version as such hasn't changed since my last upload this morning...
plz have a look at my updates below!