Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[forums.alliedmods.net] Teams Manager All-In-One


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 03.02.2012 23:12

Teams Manager All-In-One
Version 0.0.1
by Exolent



Introduction

Instead of all of the separate team management plugins that I have made, I decided to write a complete one.
It includes:

  • auto-join for teams
  • a ratio for teams
  • a limit for each team
  • immunity for admins from all of the above

Cvars
  • team_immunity <0/1>
    - Allows immune admins to not be affected by plugin
    - 0 = Affect admins with plugin
    - 1 = Admins are not affected
    - Default: 0
  • team_immunity_flag <flag(s)>
    - Flag(s) required to be considered immune
    - If multiple flags, admins must have them all
    - Default: "a"
  • team_autojoin_team <0/1/2/5/6>
    - Team for players to auto-join
    - 0 = Disabled
    - 1 = Terrorists
    - 2 = Counter-Terrorists
    - 5 = Random (Terrorist or Counter-Terrorist)
    - 6 = Spectator
    - Default: 0
  • team_autojoin_class_t <1/2/3/4/5>
    team_autojoin_class_ct <1/2/3/4/5>
    - Class for players to choose for auto-join
    - 1-4 = Normal models
    - 5 = Random model
    - Default: 5
  • team_allow_switch <0/1>
    - Controls whether players on a team can choose a new team
    - 0 = Cannot choose new team
    - 1 = Allow choose new team
    - Default: 1
  • team_limit_t <limit>
    team_limit_ct <limit>
    - The max players for each team
    - 0 or 32 = Don't set a limit
    - Default: 32
  • team_ratio_t <factor>
    team_ratio_ct <factor>
    - The ratio for T:CT players
    - Example: If T is 3 and CT is 1, then there will be 3 Terrorists for every 1 Counter-Terrorists (or 3x more Terrorists).
    - Default: 1
  • team_ratio_t <factor>
    team_ratio_ct <factor>
    - The ratio for T:CT players
    - Example: If T is 3 and CT is 1, then there will be 3 Terrorists for every 1 Counter-Terrorists (or 3x more Terrorists).
    - If both factors are equal or one of them is 0, then no ratio will be put into effect.
    - Default: 1
  • team_balance <method>
    - How the teams should be checked to be balanced every round
    - This is for ensuring the limits/ratios are still in effect in case of other plugins moving players
    - Methods:
  • 0, no, off, none
  • 1, spec, spectate, spectater, spectator
  • 2, move, switch, transfer
  • 3, kick
- Method Descriptions:
  • 0 = Don't check to balance the teams
  • 1 = Move excess players to spectator
  • 2 = Move excess players to other team (if not breaking the limit/ratio) or move to spectator
  • 3 = Kick players from server
- Default: "off"

Requirements
  • AMX Mod X version 1.8.1 or higher
  • Steam WITHOUT dproto installed
Notes

If you have any other team managing ideas, please ask as I am always willing to have more features.
The auto-join feature overrides the allow switching, so if you have auto-join to 1 team, then players cannot switch.



Attached Files Dołączona grafika Get Plugin or Get Source (teams_manager.sma - 13.1 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych