This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[csgo] Getting odd error for custom sound file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 12-09-2012 , 19:43   [csgo] Getting odd error for custom sound file
Reply With Quote #1

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?
__________________

Last edited by PresidentEvil; 12-09-2012 at 19:44.
PresidentEvil is offline
mukunda
Member
Join Date: Sep 2012
Old 12-09-2012 , 20:11   Re: [csgo] Getting odd error for custom sound file
Reply With Quote #2

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

Last edited by mukunda; 12-09-2012 at 20:12.
mukunda is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 12-09-2012 , 20:20   Re: [csgo] Getting odd error for custom sound file
Reply With Quote #3

Quote:
Originally Posted by mukunda View Post
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
__________________
PresidentEvil is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:33.


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