1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
addhook("endround", "end_of_round")
function ctwin()
msg("Counter Terrorist has stopped Terrorist from the target!")
parse("sv_sound \"cscz/ct_win.wav\"")
end
function twin()
msg("Counter Terrorist failed protect the Terrorist target from them!")
parse("sv_sound \"cscz/t_win.wav\"")
end
function end_of_round(mode)
if mode==1 then --Regular T win
twin()
elseif mode==2 then --Regular CT win
ctwin()
elseif mode==60 then --All humans infested; Zombies win
twin()
elseif mode==61 then --Humans survived; Humans win
ctwin()
end
end
And in-game it show sv_sound error
1
ERROR: cannot play sound 'sfx/cscz/ct_win.wav' - failed to load (sv_sound)
Even i have that file,still error.Any solution?