Daemon666 / CSB Admin HP & Armor Публичен

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.

v1.0.0 125 изтегляния GPL-3.0 Последна актуализация Aug 24, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Dec 17, 2025 1 Версии
csb_admin_hp_armor.sma main 75e85f9 6.3 KB
README.md

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.

Инсталация
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
Cvar-и
CVARDefaultDescription
csb_hp_max 1000 Maximum health amx_hp will apply.
csb_armor_max 255 Maximum armour amx_armor will apply.
Команди
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.
Списък с промени — v1.0.0
1.0.0 - Initial release.
Версии →
Оценка

No ratings yet.

Относно
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Изтегли .sma
Изисквания
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули fun
Известни конфликти Damage-scaling or god-mode plugins can immediately overwrite the health/armour you set.
Сътрудници
Обратно към плъгините