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

RSS[L4D2] Block Pour Gascan [v1.0.0 | 08-March-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
L4D2 ONLY

Description

Block clients from pouring with normal gascans. Only scavenge gascans will be allowed.

Cvars

A configuration file named "l4d2_block_pour_gascan.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

PHP Code:

// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_block_pour_gascan_enable "1" 

Admin Commands
  • sm_print_cvars_l4d2_block_pour_gascan => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Known Issues
  • When switching from a normal gascan to a scavenge one, a message will be displayed saying that someone is already pouring.

Notes
  • Using OnGameFrame cause OnPlayerRunCmd seems too late to set the netprop.

To Do
  • Filter if there is some point_prop_use_target entity in the map before activating the rules.
  • Add compatibility to [L4D2] Pour Gas plugin.
  • Add warning message.

Thank you!

Conflicting Plugins

Related Plugins

Post Reply
  • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

Installation
  • Put the "l4d2_block_pour_gascan.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.

Attached Files
File Type: sp Get Plugin or Get Source (l4d2_block_pour_gascan.sp - 11.8 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

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

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