Spend credits earned from kills on +HP, capped, with a per-round purchase limit and a HUD confirmation.
CSB Buy HP is a self-contained shop item: type /buyhp to trade credits for health. Credits are earned by killing (csb_buyhp_reward per frag), each purchase adds csb_buyhp_amount HP up to the cap in csb_buyhp_maxhp, and you can only buy it csb_buyhp_limit times per round.
It needs no external shop core to work, but it also exposes a public callable, csb_hp_give(id, amount), so a larger shop or VIP system can grant capped HP through the same code path.
Features
/buyhpand/creditsfrom chat.- Health cap so buying never exceeds a sane maximum.
- Per-round purchase limit.
- HUD confirmation showing HP added and credits spent.
- Refuses the purchase when you are already at the cap or short on credits.
Installation
- Make sure the
funmodule is enabled inmodules.ini. - Compile, copy
csb_buy_hp.amxxintoaddons/amxmodx/plugins/and add it toplugins.ini. - Tune the cost/reward/limit cvars in
amxx.cfg, then change the map.
Notes
Credits are kept in memory for the duration of a connection; they are not saved to a database. If you want persistent, account-wide credits, feed this plugin from your own store through csb_hp_give().









