

For Example, if you want to play "sound/misc/test.wav", you will have to "say /test". The player only has to give the name of the wav file. Default is "misc".Īmx_csnd_hide: hides the said alias if a sound file was found. If a client doesn't have this specific sound file, he will be the only one to not hear anything.Īmx_csnd_dir: determines the directory where to look for the sounds. If such a file is found, it is played to all players. The Plugin basically looks into the specified SERVER directory and tries to find a file whose name fits to the text the user said. Now we need a mechanism to make the clients play these sounds. See this example:Ī server administrator puts a lot of sounds onto the server and gives all users a link where they can download the sound package. I've coded a li'l plugin that will play a sound file upon user chat.
