Code:
L 05/21/2012 - 16:20:14: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 05/21/2012 - 16:20:14: [SM] Displaying call stack trace for plugin "saysounds.smx":
L 05/21/2012 - 16:20:14: [SM] [0] Line 982, C:\dev\sourcemod\sourcemod-1.4.1\sourcemod\scripting\saysounds.sp::checkSamplingRate()
L 05/21/2012 - 16:20:14: [SM] [1] Line 1679, C:\dev\sourcemod\sourcemod-1.4.1\sourcemod\scripting\saysounds.sp::runSoundEvent()
L 05/21/2012 - 16:20:14: [SM] [2] Line 1448, C:\dev\sourcemod\sourcemod-1.4.1\sourcemod\scripting\saysounds.sp::OnAudioBroadcast()
Spams my error logs when trying to use win/lose sounds.
My config:
Code:
"end round win music" //This example plays a random sound to the victim if he gets killed with a TF2 rocket launcher.
{
"file1" "gl_endmusic/endround1.mp3"
"file2" "gl_endmusic/endround2.mp3"
"file3" "gl_endmusic/endround3.mp3"
"file4" "gl_endmusic/endround4.mp3"
"file5" "gl_endmusic/endround6.mp3"
"file6" "gl_endmusic/endround8.mp3"
"file7" "gl_endmusic/endround9.mp3"
"file8" "gl_endmusic/endround10.mp3"
"file9" "gl_endmusic/endround11.mp3"
"file10" "gl_endmusic/endround12.mp3"
"file11" "gl_endmusic/endround13.mp3"
"count" "11"
"actiononly" "1"
"action" "round"
"param" "won"
}
"end round lose music" //This example plays a random sound to the victim if he gets killed with a TF2 rocket launcher.
{
"file1" "gl_endmusic/endroundlose1.mp3"
"file2" "gl_endmusic/endroundlose2.mp3"
"count" "2"
"actiononly" "1"
"action" "round"
"param" "lost"
}
Win round sounds work but Lose round sounds do not play. I can play the sounds manually with sm_play no problem.
Help pl0x