CSB Halftime Swap v1.0.0
CSB Halftime Swap handles the side switch in a MR-format match. When the round counter reaches csb_half_round (16 for MR15) it switches every player to the opposite side with cs_set_user_team, swaps the stored team scores and pushes them to the scoreboard, resets everyone's money to the half-time start value, and restarts the round after a short HUD countdown. Per-player frags are never touched, so individual stats carry cleanly across the swap.
Features
- Automatic side swap at a configurable round.
- Team scores swapped and re-sent via
TeamScore. - Money reset to a configurable half-time value.
- HUD countdown before the restart; frags preserved.
Installation
- Enable the
cstrikemodule inmodules.ini. - Compile
csb_halftime_swap.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map.
Installation
1. Enable the cstrike module in addons/amxmodx/configs/modules.ini 2. Put csb_halftime_swap.amxx in addons/amxmodx/plugins/ and add it to plugins.ini 3. Change map
Cvars4
| CVAR | Default | Description |
|---|---|---|
csb_half_enabled | 1 | Enable or disable the halftime swap. |
csb_half_round | 16 | Round number at which sides are swapped (16 = MR15). |
csb_half_money | 800 | Money each player is given for the second half. |
csb_half_countdown | 5 | Countdown seconds shown before the restart. |
Note
Pas encore de notes









