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

[TF2] Class Time Limit


  • 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 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 15.08.2012 22:41

Class Time Limit

Description Chose the time for player can play each class in each team, and select how much time he must wait for replay this class. You can also don't make timer on a class, or prohibit a class.Admins can have immuntity, you have just to select the flags and active the immunity CVAR. CVAR Code: ctl_enabled (default: 1) => Enable or disable class time limit ? ctl_flags (default: a) => Admin flags for no time limitctl_immunity (default: 0) => Enable or disable admins being immune for class time limit ?ctl_red_scout (default: -1) => Timer for play red Scout in seconds, -1 for no limit, 0 for block classctl_wait_red_scout (default: 500) => Timer to wait for replay red Scout in seconds, not need if Timer = -1 or 0ctl_red_soldier (default: -1)ctl_wait_red_soldier (default: 500)ctl_red_pyro (default: -1)ctl_wait_red_pyro (default: 500)ctl_red_demoman (default: -1)ctl_wait_red_demoman (default: 500)ctl_red_heavy (default: -1)ctl_wait_red_heavy (default: 500)ctl_red_medic (default: -1)ctl_wait_red_medic (default: 500)ctl_red_sniper (default: 500)ctl_wait_red_sniper (default: 1000)ctl_red_engineer (default: -1)ctl_wait_red_engineer (default: 500)ctl_red_spy (default: 0)ctl_wait_red_spy (default: 500)ctl_blue_scout (default: -1)ctl_wait_blue_scout (default: 500)ctl_blue_soldier (default: -1)ctl_wait_blue_soldier (default: 500)ctl_blue_pyro (default: -1)ctl_wait_blue_pyro (default: 500)ctl_blue_demoman (default: -1)ctl_wait_blue_demoman (default: 500)ctl_blue_heavy (default: -1)ctl_wait_blue_heavy (default: 500)ctl_blue_medic (default: -1)ctl_wait_blue_medic (default: 500)ctl_blue_sniper (default: 500)ctl_wait_blue_sniper (default: 1000)ctl_blue_engineer (default: -1)ctl_wait_blue_engineer (default: 500)ctl_blue_spy (default: 0)ctl_wait_blue_spy (default: 500)Installation Put class_time_limit.sp in the folder tfaddonssourcemodscriptingPut class_time_limit.smx in the folder tfaddonssourcemodpluginsPut Class_Time_Limit.cfg in the folder tfcfgsourcemod You need morecolors.inc And change the CVAR to you =) . Details If Class timer = 0 : player can't go to this class and he will have this message "This class is blocked, please chose an other class!", and class menu will open If Class timer = value > 1 : player will have this message for timeleft 30 sec and timeleft < 10 sec "Time left for play this class is %d second(s) !"Went the class timer is end, class menu will open. Then, if player is on an other class or team, timer to wait will continu. If Class timer = -1 : They don't have timer on this class. CRASH REPPORT : For now, DON'T TOUCH PYRO CVARS, Client game will be crash if time limit for pyro is active. I don't know where is the probleme, if anyone can help ? =s Sorry for my bad english =( ENJOY =D Attached Files Dołączona grafika Get Plugin or Get Source (class_time_limit.sp - 65.1 KB) Dołączona grafika class_time_limit.smx (22.7 KB) Dołączona grafika Class_Time_Limit.cfg (5.0 KB)

Wyświetl pełny artykuł




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

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