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[ANY] Simple Welcome Message (fork)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:
More simple version of Simple Welcome Message by Zuko with some additional features aimed to prevent players from be distracted from gameplay due to these ads:
  • Ability to display message to observers only
  • Ability to display message to dead players only
  • (optional) Don't display ads when there is at least 1 tank on the field (for L4D game)
  • More flexible controlling over timing, e.g. delay between messages and delay between each full cycle of messages
Settings (ConVars):
Can be found in: cfg/sourcemod/plugin.simplewelcomemsg
PHP Code:

// Enable/Disable Plugin
sm_swm_enable "1"

// When the message should be displayed after the player join on the server (in seconds)
sm_swm_timer "10.0"

// Frequence of each message in queue (in seconds)
sm_swm_timerrepeat "10.0"

// When the next cycle of messages should begin (delay in seconds). 0 - to disable
sm_swm_timernextcycle "30.0"

// Number of the last line to show
sm_swm_lastline "2"

// Show advertisements to dead players only
sm_swm_deadonly "0"

// Show advertisements to spectators only
sm_swm_speconly "0" 

Quick setup:
- edit ConVar sm_swm_lastline to as many different items as you want to display
- edit translations/simplewelcomemsg.phrases.txt to whatever messages you want
- to add more items, e.g. set "sm_swm_lastline" "3" and create new translation item named "WelcomeMsg3" etc.
Supported games:
- ANY
Requirements:
- colors.inc by exvel or this version
- (optional) Left 4 Dragokas - to support hiding ads when tank is on the field (in L4D games)
Translations:
- Included, modify file: translations/simplewelcomemsg.phrases.txt
ChangeLog


Credits:
- @Zuko - the original author
P.S.:
- It's my private modification written for myself and my Bloody Witch team.
- Project and updates discontinued. Don't ask.

Attached Files
File Type: zip SimpleWelcome.zip (17.5 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ę...