TTT round ending music HELP!

Hi i am trying to get round ending musin working on my TTT server but all i get is errors upon errors. i have searched google inside out for an answer and found nothing. here is my script and error i get in console

local function PlayMusic(wintype)
if wintype == WIN_INNOCENT then
elseif wintype == WIN_TRAITOR then
BroadcastLua('surface.PlaySound("ttt/traitor_win1.mp3") ')
elseif wintype == WIN_TIMELIMIT then
hook.Add("TTTEndRound", "MyMusic", PlayMusic)

and in console it sais “Create stream Failed error 41”
Then below it sais “Failed to load sound “winner.mp3”, file probably missing from disk/repository

please help me!

Please somebody help,

someone please help me

This is already working. It did look fine. But you don’t have winner.mp3 in garrysmod/garrysmod/sound/ thats why its not working. You need to setup FastDL also.
This is probably more stable.

This is the one I give out to help people learn Lua.

Feel free to learn from it, and expand on it.

The thing is, I see my fastDL download the music. I have it in my garrysmod>sound and i see the fastdl download winner.mp3 But it still doesnt work.

I also jus tried the script above, and the music still drops the same error. i have the music in sound>round and i have changed the files to point to my music and it still doesnt work :frowning: