Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[L4D & L4D2] Saferoom Door Spam Protection (1.1) [15-May-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Thanks to "SilentBr" for testing.
  • Various optional features:
  1. Prevent closing the first saferoom door once opened.
  2. Prevent players opening or closing the last saferoom door after being used for X seconds. Use the l4d_safe_spam_time_close and l4d_safe_spam_time_open cvars.


CVars:

Saved to l4d_safe_spam.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:

l4d_safe_spam_allow        "1"     // 0=Plugin off, 1=Plugin on.
l4d_safe_spam_modes        ""      // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_safe_spam_modes_off    ""      // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_safe_spam_modes_tog    "0"     // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_safe_spam_open         "1"     // 0=Off, 1=Keep the first saferoom door open once opened.
l4d_safe_spam_time_close   "1.0"   // How many seconds to block after closing the last saferoom door.
l4d_safe_spam_time_open    "3.0"   // How many seconds to block after opening the last saferoom door.
l4d_safe_spam_type         "1"     // 0=Off. When the last saferoom door is used enable the timeout on: 1=Open, 2=Close, 3=Both.
l4d_safe_spam_version // Saferoom Door Spam Protection plugin version 



Changes:
Code:

1.1 (15-May-2020)
    - Initial release.

1.0 (30-Aug-2013)
    - Initial creation.



Installation
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.

Attached Files
File Type: sp Get Plugin or Get Source (l4d_safe_door_spam.sp - 11.2 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

×
×
  • Dodaj nową pozycję...