Promuj serwer

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

  1. Enable the cstrike module in modules.ini.
  2. Compile csb_halftime_swap.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.
Instalacja
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
Cvary4
CVARDefaultDescription
csb_half_enabled1Enable or disable the halftime swap.
csb_half_round16Round number at which sides are swapped (16 = MR15).
csb_half_money800Money each player is given for the second half.
csb_half_countdown5Countdown seconds shown before the restart.
Ocena
Brak ocen