Per-round, per-map and lifetime (nVault) headshot tracking with a HUD counter and a round-end best-hunter callout.
Daemon666
1.0.0 - Initial release.
| csb_headshot_counter.sma main | 855c7d6 | 4.1 KB |
README.md
CSB Headshot Counter reads the headshot flag straight from the DeathMsg event, so it counts real head kills, not guesses. It keeps three numbers per player: this round, this map, and lifetime — the lifetime totals are stored per SteamID in nVault and reloaded on connect. A small HUD counter shows the map total, and at the end of each round the player with the most headshots is announced.
Features
- Headshots counted from the
DeathMsgheadshot byte (accurate, engine-provided). - Lifetime headshots and total kills persisted per SteamID in nVault.
say /hsprints your map total plus your lifetime HS ratio as a percentage.- Round-end "best headshot hunter" announcement (needs at least 2).
- HUD counter of headshots this map, updated on each head kill.
Installation
- Make sure the
nvaultmodule is enabled inaddons/amxmodx/configs/modules.ini. - Compile
csb_headshot_counter.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map. The vault file
csb_headshots.vaultappears inaddons/amxmodx/data/vault/.
Installation
1. Enable the nvault module in addons/amxmodx/configs/modules.ini 2. Put csb_headshot_counter.amxx in addons/amxmodx/plugins/ and add it to plugins.ini 3. Change map
Cvars
| CVAR | Default | Description |
|---|---|---|
csb_hs_enabled |
1 |
Enable or disable headshot tracking. |
csb_hs_hud |
1 |
Show the per-map headshot HUD counter. |
Befehle
| Command | Access | Description |
|---|---|---|
say /hs |
|
Print your headshot totals and lifetime HS ratio. |
Änderungsprotokoll — v1.0.0
1.0.0 - Initial release.Versionen →
Bewertung
No ratings yet.
Download v1.0.0
Anforderungen
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Optional |
| ReAPI | Optional |
| Metamod | Metamod / Metamod-r |
| Module | nvault |
Mitwirkende









