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 BroadcastLua('surface.PlaySound("winner.mp3")') elseif wintype == WIN_TRAITOR then BroadcastLua('surface.PlaySound("ttt/traitor_win1.mp3") ') elseif wintype == WIN_TIMELIMIT then BroadcastLua('surface.PlaySound("ttt/innocent_win1.mp3")') end end 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!