Ive fixed the TA Music widget but i want to add a slider for the volume level.
To be honest i don't even know where to start.
This is the code ive got to play a sound file with a set volume.
Code: Select all
Spring.PlaySoundStream("music/17.ogg",0.8)
Code: Select all
Spring.PlaySoundStream("music/17.ogg",Volvalue)
Code: Select all
Volvalue = {
name = 'Music Volume',
desc = 'Adjust the Volume level.',
type = 'number', min = 0, max = 1, step = 0.05,
value = 0.8
}=
So i desperately need some help.
Thanks