Skip to content

Lifebar

AMX Mod X plugin for Counter-Strike. The plugin adds a health bar above the players.

PluginCounter-Strike 1.6v1.1Views:9Downloads:80

Description

AMX Mod X plugin for Counter-Strike.

The plugin adds a health bar above the players.

Configuration

Cvars

  • lifebar_team "0" Lifebar is displayed above all players, 1 — only above allies, 2 — only above enemies.
  • lifebar_alive "0" Lifebar is displayed in any state of the player, 1 — only alive, 2 — only dead.
  • lifebar_max_health "100" Maximum player health for 100% lifebar state.

Definitions

The configuration is done in the source file:

C++
// #define COLORED_LIFEBAR // Use a colored lifebar (uncomment for color support)
#define COLOR_RED Float:{ 255.0, 0.0, 0.0 } // Lifebar color for the terrorist team
#define COLOR_BLUE Float:{ 0.0, 0.0, 255.0 } // Lifebar color for the counter-terrorist team
#define LIFEBAR_RENDERMODE kRenderTransTexture
#define LIFEBAR_RENDERAMT 255.0
#define LIFEBAR_SCALE 0.2 // Lifebar size

// Lifebar model (sprites/next21_efk/lifebar_numeric.spr for numeric)
new const MODELS_LIFEBAR[2][] = {
	"sprites/next21_efk/lifebar_def.spr", // for the terrorist team
	"sprites/next21_efk/lifebar_def.spr" // for the counter-terrorist team
}
Lifebar Numeric

Authors

Changelog

  1. v1.1current
  2. Archive from the old site

Related

Pluginv1.8

Hats

AMX Mod X plugin for Counter-Strike. The plugin allows the player to wear hats on their heads. The main feature of this modification is the player's ability to choose a skin or a submodel of a headgear on his own and set which of them will be available exclusively to VIP players.

Pluginv0.3

Slot Machine

AMX Mod X plugin for Counter-Strike. The plugin allows you to place slot machines on the map and play them. The player places a bet and waits for a winning combination of symbols to appear. A victory is counted when a whole row or diagonal is filled with the same symbols.

Pluginv1.0

Costumes

This plugin adds costumes to your server; the models are compressed into one so as not to hit the server's limit. It can also be set up for ZombiePlague: to do so, uncomment the code // #define ZP_SUPPORT in the source and compile. Usage: /costumes - in chat to open the costumes menu…