View Single Post
Author Message
xSLOW
Senior Member
Join Date: Apr 2019
Location: Romania
Old 03-29-2020 , 08:38   [CS:GO] Sanky Sounds ( CHAT SOUNDS for FLAGS / Sank Sounds rewrited )
Reply With Quote #1

=============== 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
1.1 : - Bug fix
1.2: Memory leak fixed, improvements

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

Any code suggestion, improvement, critic, ideea, etc is welcomed
__________________
My community:
https://elitegamers.ro
https://www.gametracker.com/search/c...elitegamers.ro

Contact me, fastest way, through my discord server:
https://discord.gg/SBHzDGbbgG
xSLOW#0508

Last edited by xSLOW; 09-14-2020 at 11:07. Reason: version 1.1
xSLOW is offline