CSB Admin HP & Armor v1.0.0
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
Cvarlar2
| CVAR | Default | Description |
|---|---|---|
csb_hp_max | 1000 | Maximum health amx_hp will apply. |
csb_armor_max | 255 | Maximum armour amx_armor will apply. |
Komutlar3
| 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. |
Puan
No ratings yet.









