CSB Halftime Swap

v1.0.0 3 загрузок Daemon666 Обновлено: Jul 16, 2026

At the configured round it swaps sides, swaps scores, resets money and restarts with a HUD countdown.

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.

Установка

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

Cvar-ы

CVARDefaultDescription
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.

История изменений — v1.0.0

1.0.0 - Initial release.
Версии →
Участники: Daemon666 ✦
Лицензия: GPL-3.0

Рейтинг

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Скачать .sma
Файлы:
csb_halftime_swap.sma main 3.6 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули cstrike
Известные конфликты Other plugins that also count rounds and restart, or that manage the scoreboard, can conflict.
Назад к плагинам