Bullet Damage Display Plugin
Version: 1.0
Author: illusionLabs.dev
Platform: Counter-Strike 1.6 (AMX Mod X)
Overview
A professional damage tracking system that displays real-time bullet damage information to players and spectators in Counter-Strike 1.6.
Features
- Real-time Damage Display: Shows damage numbers on screen when you hit enemies
- Damage Statistics: Track damage given and received per round with player names
- Spectator Support: Enhanced spectator mode with detailed damage stats for the player being watched
- Chat Commands: Use
/damage
to view your round statistics
- Configurable: Multiple CVars to customize behavior
Commands
say /damage
or say_team /damage
- Display your damage statistics for the current round
CVars
CVar
Default
Description
bullet_damage
1
Enable/disable the damage display system
bullet_damage_spectator
1
Enable/disable spectator HUD
bullet_damage_update_rate
1.0
Update rate for spectator HUD (seconds)
How It Works
- Live Damage: When you shoot an enemy, damage numbers appear on your screen at rotating positions
- Round Stats: All damage given/received is tracked per round and reset at round start
- Spectator Mode: When spectating, you see detailed damage stats for the player you're watching
- Chat Display: Use the
/damage
command to see colored damage statistics in chat
Installation
- Compile
bullet_dmg.sma
using AMX Mod X compiler
- Place the compiled
bullet_dmg.amxx
in your plugins
folder
- Add
bullet_dmg.amxx
to your plugins.ini
- Restart the server or change map
Technical Details
- Supports up to 32 players
- Uses HUD messages for damage display
- Tracks damage in 2D arrays for efficient lookup
- Automatic cleanup on player disconnect
- Professional spectator target tracking