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.
Daemon666
1.0.0 - Initial release.
| 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_hpandamx_armorwith 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
- Enable the
funmodule inaddons/amxmodx/configs/modules.ini. - Compile
csb_admin_hp_armor.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map.
All commands need the ADMIN_LEVEL_A flag (b) by default.
Kurulum
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
Cvarlar
| CVAR | Default | Description |
|---|---|---|
csb_hp_max |
1000 |
Maximum health amx_hp will apply. |
csb_armor_max |
255 |
Maximum armour amx_armor will apply. |
Komutlar
| Command | Access | Description |
|---|---|---|
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. |
Değişiklik günlüğü — v1.0.0
1.0.0 - Initial release.Sürümler →
Puan
No ratings yet.
Download v1.0.0
Gereksinimler
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | İsteğe bağlı |
| ReAPI | İsteğe bağlı |
| Metamod | Metamod / Metamod-r |
| Modüller | fun |
| Bilinen çakışmalar | Damage-scaling or god-mode plugins can immediately overwrite the health/armour you set. |
Katkıda bulunanlar









