Daemon666 / CSB Swap Teams Публичен

amx_swapteams swaps everyone between T and CT, respawns the alive ones, and swaps the tracked team scores so the score follows the players.

v1.0.0 134 изтегляния GPL-3.0 Последна актуализация Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Oct 26, 2025 1 Версии
csb_swap_teams.sma main 07329db 3.2 KB
README.md

CSB Swap Teams flips both sides in one command. amx_swapteams moves every player between Terrorist and Counter-Terrorist with cs_set_user_team and respawns the ones who were alive through Ham_CS_RoundRespawn, so they appear at the correct spawn points. The plugin also mirrors the team scoreboard totals (counted from the round-win audio) and swaps them, re-sending the TeamScore message — so the score follows the players to their new side instead of staying stuck to the colour.

Inspired by the Swap Teams plugin from AMX Mod X. Independent GPL re-implementation.

Features

  • amx_swapteams swaps all assigned players in one call.
  • Alive players are respawned at valid spawn points via hamsandwich.
  • Team scores are mirrored from the win audio and swapped with the players.
  • Announced in chat and logged with the admin's name.

Installation

  1. Compile csb_swap_teams.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

amx_swapteams needs the ADMIN_LEVEL_A flag (m) by default. Score mirroring starts counting from the moment the plugin loads.

Инсталация
1. Put csb_swap_teams.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map
Команди
CommandAccessDescription
amx_swapteams m (ADMIN_LEVEL_A) Swap all players between the two teams.
Списък с промени — v1.0.0
1.0.0 - Initial release.
Версии →
Оценка

No ratings yet.

Относно
  • Admin
  • Лиценз: GPL-3.0
  • Daemon666
  • Оригинален автор: AMX Mod X Development Team (Swap Teams)
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Изтегли .sma
Изисквания
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули cstrike hamsandwich
Известни конфликти Other team-balance / swap plugins that also move players or edit TeamScore will collide with this one.
Сътрудници
Обратно към плъгините