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[L4D1 & L4D2] Spectators Name Message Queue [v1.0.1 | 15-January-2023]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

Displays spectators names from time to time, sorted by longest time connected in server.

Made it a long time ago, but I still see some competitive servers using my private version instead.

Useful for competitive servers that has a lot of spectators slots and want to replace a player during AFK or an entire team at the end of the match.

Features
  • Allows enabling/disabling the plugin.
  • Allows configuring the interval that a message is displayed.
  • Public command to output the queue to caller chat.
  • Translations supported.

Cvars

A configuration file named "l4d_specs_msg_queue.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"
l4d_specs_msg_queue_enable "1"

// Interval in seconds that the queue message should output to everyone.
// -
// Default: "60.0"
// Minimum: "0.100000"
l4d_specs_msg_queue_timer_interval "60.0" 

Public Commands
  • sm_queue => Shows the current player queue.

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

Change Log

Spoiler


Current Translations
  • en - English
  • es - Spanish
  • pt - Brazilian Portuguese
  • pt_p - Portuguese

Notes
  • The sort is based on the return of the GetClientTime function. (only sorts SPECTATOR and HUMAN players)

Thank you!

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

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

Attached Files
File Type: txt l4d_specs_msg_queue.phrases.txt (1.2 KB)
File Type: sp Get Plugin or Get Source (l4d_specs_msg_queue.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ę...