Skocz do zawartości
  • Drogi gościu!

    Tutaj możesz się zarejestrować lub zalogować:

[RSS Pluginy] [TF2] Class Restrictions For Humans (04.05.2017)


GLOBALELITE.pl

Rekomendowane odpowiedzi

  • GLOBALELITE.PL
Description:

 

This plugin blocks/limits classes for humans!

It can run alongside Class Restrictions For Bots that blocks/limits classes for bots

 

Cvars:

PHP Code:

sm_crh_enabled 1 //(0/1, default 1) Enable/disable restricting classes for humans in TF2.

 

sm_crh_immunity 0 //(0/1, default 0) Enable/disable admins being immune to restricting classes in TF2.

sm_crh_flags "b"  //(default "b") Admin flags for immunity against restricting classes in TF2. So admins can use limited/blocked classes. 

//They are still counted towards the limit. If multiple flags are provided, at least one has to be true. Cvar sm_crh_immunity has to be enabled.

sm_crh_classmenu 0 //Enables/disables the class menu popping up when you pick the wrong class.

sm_crh_sounds 0 //Enables/disables the Nope sound when you pick the wrong class.

 

sm_crh_blu_demomen -1

sm_crh_blu_engineers 

-1

sm_crh_blu_heavies 

-1

sm_crh_blu_medics 

-1

sm_crh_blu_pyros 

-1

sm_crh_blu_scouts 

-1

sm_crh_blu_snipers 

-1

sm_crh_blu_soldiers 

-1

sm_crh_blu_spies 

-1

// Limits for Blu human classes in TF2. (-1 for no limit, 0 is disabled, 1 or anything higher will be the limit for that class. Default -1)

 

sm_crh_red_demomen -1

sm_crh_red_engineers 

-1

sm_crh_red_heavies 

-1

sm_crh_red_medics 

-1

sm_crh_red_pyros 

-1

sm_crh_red_scouts 

-1

sm_crh_red_snipers 

-1

sm_crh_red_soldiers 

-1

sm_crh_red_spies 

-1

// Limits for Red human classes in TF2. (-1 for no limit, 0 is disabled, 1 or anything higher will be the limit for that class. Default -1) 


Important info:

Plugin limits classes when humans spawn, so if you change limits after they have been spawned then you have to wait until they die or you can slay them (for changes to take effect). REMOVE AN OLDER VERSION OF THIS PLUGIN OR OTHER PLUGINS FOR CLASS RESTRICTION BEFORE INSTALLING THIS PLUGIN! Also, disable the tf2 default classlimit if enabled(the plugin disables this cvar but only once). Autobalance can also cause problems, depending on your settings.

 

Installation:

Autogenerates a .cfg file in cfgsourcemod when you load it for the first time.

 

Changelog:

Credits:

DJ Tsunami for his team restricting plugin

Attached Files
File Type: sp Get Plugin or Get Source (ClassRestrictionsForHumans.sp - 12.0 KB)

 

Wyświetl pełny artykuł

Odnośnik do odpowiedzi
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający

    Brak zarejestrowanych użytkowników przeglądających tę stronę.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Dodaj nową pozycję...