Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
How can I play sounds using tables
3 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
1
2
3
4
5
6
7
2
3
4
5
6
7
a = {"a.ogg", "b.ogg"} function whatever(p) 	parse ("sv_sound /"..a[p]) end whatever(1)
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
sounds = {"a.ogg", "b.ogg"} function whatever() 	for k, v in pairs(sounds) do 		parse("sv_sound \"..v); 	end end whatever()
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)