D
Darren
Guest
I'm trying to change the volume of my game within my settings but it doesn't seem to work for me, I'm not sure why because it works for changing the room.
This is my code.
switch (mpos)
{
case 0:
{
if global.musicPercentage = 100 then
{
global.musicPercentage = 0;
} else
if global.musicPercentage = 0 then
{
global.musicPercentage = 100;
}
break;
}
{
room_goto(rm_mainmenu);
break;
}
}
This is my code.
switch (mpos)
{
case 0:
{
if global.musicPercentage = 100 then
{
global.musicPercentage = 0;
} else
if global.musicPercentage = 0 then
{
global.musicPercentage = 100;
}
break;
}
{
room_goto(rm_mainmenu);
break;
}
}