Skocz do zawartości

[RSS] [TF2] Bonus Round Player Effects (25.06.2023)


GameNation

Rekomendowane odpowiedzi

Description:
This plugin gives players effects/conditions in the bonus round

Cvars:
PHP Code:

sm_brpe_version     // version cvar - do not edit
sm_brpe_enabled 1  // enable/disable this plugin
sm_brpe_adminflag o   // Admin flag to use for immunity (only one). Must be in char format. Default: o
sm_brpe_mode 0      // 0 - effects are applied to everybody. 1 - only to players with the admin flag. 2 - to all winners plus losers with the admin flag. 3 - to all losers plus winners with the admin flag. Default: 0
sm_brpe_winners_effect 52     // Condition from TFCond enum - applied to the players on the winning team. 0 - do nothing. Default: 52 MAKE SURE THE CONDITION EXISTS IN THE tf2.inc FILE
sm_brpe_loserss_effect 24     // Condition from TFCond enum - applied to the players on the losing team. 0 - do nothing. Default: 24  MAKE SURE THE CONDITION EXISTS IN THE tf2.inc FILE
sm_brpe_winners_effect_duration 0  // Duration of the effect, applied to the players on the winning team. 0 - max duration. Default: 0
sm_brpe_loserss_effect_duration 0   // Duration of the effect, applied to the players on the losing team. 0 - max duration. Default: 0 

Installation:
Autogenerates a .cfg file in cfg\sourcemod when you load it for the first time.
  1. Download the plugin(or the source and compile it yourself)
  2. Put the .smx file in tf\addons\sourcemod\plugins
  3. Restart the server or load the plugin manually


Changelog:

1.00 - initial version


Github - link

Attached Files
File Type: sp Get Plugin or Get Source (BonusRoundPlayerEffects.sp - 6.9 KB)

Przeczytaj cały wpis na stronie AlliedModders

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.