Clean Sheet 1.0.0 (olds.ro)
===========================
Paintball: counts the rounds in a row each player survives without a
confirmed hit from an enemy. /cleansheet shows your streak; from
olds_clean_minstreak rounds on, a DHUD line shows it at round end.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer
- A Paintball mod that hurts players through the game's own damage (the
usual Paintball Gun & Mod does); no natives are needed
Install
1. Compile scripting/olds_cleansheet.sma and copy olds_cleansheet.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
2. Copy data/lang/olds_cleansheet.txt to addons/amxmodx/data/lang/.
Use
say /cleansheet your streak and your best on this map
olds_clean_status every player's streak (ADMIN_CFG)
Settings (addons/amxmodx/configs/plugins/olds_cleansheet.cfg, created on first run)
olds_clean_minstreak 2 streak from which the round-end DHUD line shows (1-50)
Details
- A confirmed hit: RG_CBasePlayer_TakeDamage from an enemy player that
really lowered the victim's health. Paint splats, friendly fire, blocked
damage and repeated callbacks for one shot change nothing.
- A round counts when the player was alive at its start, is alive at its
end, stayed on the same team and was never hit. Otherwise the streak is
0 at round end. A mid-round joiner's first round does not count.
- Streaks live in memory only: cleared when a player leaves and at every
map change.
No downloads: a DHUD line and chat.