I want the player to be able to lower/raise the sound volume in the options.
So I created a global variable called SoundVol. If the player clicks on the + Button, SoundVol is raised, if the player clicks on the - Button, SoundVol is lowered.
When the player enters the game after he modified the soundvolume, the sounds have still the same volume. I can't here a difference (Max SoundVol is 20, min SoundVol is -20).
Here is the code:
<img src="http://s7.directupload.net/images/130102/bxpmi7ob.png" border="0" />
<img src="http://s7.directupload.net/images/130102/aphaqphb.png" border="0" />
<img src="http://s1.directupload.net/images/130102/pmzo48t8.png" border="0" />
How to fix this?