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

Sanky Sounds ( CHAT SOUNDS for FLAGS / Sank Sounds rewrited )


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
=============== Description & Features =================

Config file example:
(path for cfg: addons/sourcemod/configs/SankSounds.cfg)

Code:

"SankSounds"
{
    "word" // chat trigger
    {
            "file"        "sank/word.mp3" // path to your file, withouth sound/
    }

    "second word|a sentence can be considered a sound" // you can use "|" to separate 2 chat triggers (sounds) that use the same sound file
    {
            "file"        "sank/sentence.mp3" // path to your file, withouth sound/
    }
}

When you type a word from the cfg file, it plays the sound using the path writed under it
You can use "|" to separate 2 chat triggers (sounds) that use the same sound file
What features does this plugin have?
* Every player can turn ON/OFF the sounds
* Every new player is asked to choose if he wants sounds enabled/disabled when joining for the first time
* These settings are saved in DATABASE using Cookies
* You can see a sounds list from menu !sounds or !sank
* You can give access to these sounds using a flag ( abcde.....)
* Configurable AntiSpam system, you can configure it from cfg/sourecmod/SankSounds.txt
* and other thingies that I dont remember right now

=============== Download =================

Direct Download: <<<HERE>>>
GitHub Link: <<<HERE>>>

=============== Updates, versions =================

1.0b - First release

=============== Other thingies =================

Any code suggestion, improvement, critic, ideea, etc is welcomed :)

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ę...