because not works,and i not understand
1
2
2
LUA ERROR: Attempt to call nill value LUA ERROR: Attempt to call nill value LUA ERROR: Attempt to call nill value ERROR: CANNOT PLAY SOUND sfx/sfx/musics/1.ogg - file does not exist sv_sound
the lua is:
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("menu", "music-p") function music-p(id, tit, sel) if(tit=="Music Player") then if(sel==1) then parse("sv_sound music/1.ogg"); end end