CSB Admin HP & Armor

v1.0.0 2 Downloads Daemon666 Zuletzt aktualisiert: Jul 15, 2026

amx_hp / amx_armor set or add (+N) health and armour, clamped by cvars, with a player + preset-amount menu. Every change is announced and logged.

CSB Admin HP & Armor hands out health and armour cleanly. amx_hp <target> <amount> sets the value, and a leading + (amx_hp <target> +50) adds to the current value instead. amx_armor works the same way. Both are clamped by csb_hp_max / csb_armor_max so nobody ends up with a broken health bar.

Features

  • amx_hp and amx_armor with set-or-add (+) syntax.
  • amx_hpmenu: pick a player, then a preset amount (25/50/100/150/200/255), with a one-click HP↔armour switch.
  • Values clamped to the configured maximums via set_user_health / set_user_armor.
  • Every change is announced in the admin chat channel and written to the AMXX log.

Installation

  1. Enable the fun module in addons/amxmodx/configs/modules.ini.
  2. Compile csb_admin_hp_armor.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.

All commands need the ADMIN_LEVEL_A flag (b) by default.

Installation

1. Enable the fun module in addons/amxmodx/configs/modules.ini
2. Put csb_admin_hp_armor.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

Cvars

CVARDefaultDescription
csb_hp_max 1000 Maximum health amx_hp will apply.
csb_armor_max 255 Maximum armour amx_armor will apply.

Befehle

CommandAccessDescription
amx_hp b (ADMIN_LEVEL_A) amx_hp <target> <[+]amount> - set or add health.
amx_armor b (ADMIN_LEVEL_A) amx_armor <target> <[+]amount> - set or add armour.
amx_hpmenu b (ADMIN_LEVEL_A) Open the player + preset-amount menu.

Änderungsprotokoll — v1.0.0

1.0.0 - Initial release.
Versionen →
Mitwirkende: Daemon666 ✦
Lizenz: GPL-3.0

Bewertung

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
.sma herunterladen
Dateien:
csb_admin_hp_armor.sma main 6.3 KB

Anforderungen

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optional
ReAPI Optional
Metamod Metamod / Metamod-r
Module fun
Bekannte Konflikte Damage-scaling or god-mode plugins can immediately overwrite the health/armour you set.
Zurück zu den Plugins