Server bewerben

CSB Hostage Bonus v1.0.0

CSB Hostage Bonus rewards the CT who rescues a hostage. It hooks the Rescued_A_Hostage log event, maps it back to the rescuing player, and grants bonus money and HP. When the whole set of hostages has been rescued the CT team receives a one-off cash bonus.

Features

  • Per-rescue bonus money (csb_hb_money) capped at $16000.
  • Optional bonus HP (csb_hb_hp) for the rescuer.
  • One-off CT team cash bonus once csb_hb_allcount hostages are rescued.
  • Pure log-event hook; no reapi or module beyond cstrike/fun.

Installation

  1. Enable the cstrike and fun modules in modules.ini.
  2. Compile csb_hostage_bonus.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.
Installation
1. Enable cstrike and fun in addons/amxmodx/configs/modules.ini
2. Put csb_hostage_bonus.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change to a hostage (cs_) map
Cvars5
CVARDefaultDescription
csb_hb_enabled1Enable or disable hostage rescue bonuses.
csb_hb_money1200Bonus money per hostage rescued.
csb_hb_hp15Bonus HP per hostage rescued (0 to disable).
csb_hb_allcount4Number of hostages that counts as 'all rescued'.
csb_hb_allbonus2000Extra money to each CT when all hostages are rescued.
Befehle1
CommandAccessDescription
Rescue a hostageThe rescuing CT is rewarded automatically.
Bewertung
Noch keine Bewertungen