CSB Headshot Counter

v1.0.0 2 téléchargements Daemon666 Dernière mise à jour: Jul 16, 2026

Per-round, per-map and lifetime (nVault) headshot tracking with a HUD counter and a round-end best-hunter callout.

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 DeathMsg headshot byte (accurate, engine-provided).
  • Lifetime headshots and total kills persisted per SteamID in nVault.
  • say /hs prints 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

  1. Make sure the nvault module is enabled in addons/amxmodx/configs/modules.ini.
  2. Compile csb_headshot_counter.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map. The vault file csb_headshots.vault appears in addons/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

CVARDefaultDescription
csb_hs_enabled 1 Enable or disable headshot tracking.
csb_hs_hud 1 Show the per-map headshot HUD counter.

Commandes

CommandAccessDescription
say /hs Print your headshot totals and lifetime HS ratio.

Journal des modifications — v1.0.0

1.0.0 - Initial release.
Versions →
Contributeurs: Daemon666 ✦
Licence: GPL-3.0

Note

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Télécharger .sma
Fichiers:
csb_headshot_counter.sma main 4.1 KB

Prérequis

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Modules nvault
Retour aux Plugins