AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [csgo] Getting odd error for custom sound file (https://forums.alliedmods.net/showthread.php?t=202735)

PresidentEvil 12-09-2012 19:43

[csgo] Getting odd error for custom sound file
 
im trying to use this plugin: http://forums.alliedmods.net/showthread.php?t=202578
which plays a custom sound when you kill someone, idk what game they used when they tested this, but it doesnt work in csgo

custom sound: http://www.mediafire.com/?7h23yiet6cchwwc

directory set up: csgo/sound/death_sound/killnotifysound.mp3

Code:


Downloading http://slayersfastdl.site.nfoservers.com/server/sound/death_sound/killnotifysound.mp3.bz2.
Download finished!
Skipping existing file http://slayersfastdl.site.nfoservers.com/server/sound/death_sound/killnotifysound.mp3.

[Sound] S_StartSound(): Failed to load sound 'death_sound\killnotifysound.mp3'. Can't create mixer.

the [Sound] S_StartSound(): Failed to load sound 'death_sound\killnotifysound.mp3'. Can't create mixer. line prints in console after I kill someone

they told me something is wrong with my server, but other plugins with custom sounds work fine

Im guessing CSGO has different sound functions, can anyone help me?

mukunda 12-09-2012 20:11

Re: [csgo] Getting odd error for custom sound file
 
change to ClientCommand(client, "playgamesound *\"%s\"", soundpath);

the * is a flag that tells the mixer to 'stream' the sound (or something? lol) and must be used to play sounds outside of the music folder

PresidentEvil 12-09-2012 20:20

Re: [csgo] Getting odd error for custom sound file
 
Quote:

Originally Posted by mukunda (Post 1851208)
change to ClientCommand(client, "playgamesound *\"%s\"", soundpath);

the * is a flag that tells the mixer to 'stream' the sound (or something? lol) and must be used to play sounds outside of the music folder

thank you, I will let the plugin coder know


All times are GMT -4. The time now is 14:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.