CSB Headshot Counter v1.0.0
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
Cvars2
| CVAR | Default | Description |
|---|---|---|
csb_hs_enabled | 1 | Enable or disable headshot tracking. |
csb_hs_hud | 1 | Show the per-map headshot HUD counter. |
Commandes1
| Command | Access | Description |
|---|---|---|
say /hs | | Print your headshot totals and lifetime HS ratio. |
Note
Pas encore de notes









