soundchoose = random(3);
switch (soundchoose){
case 0:
PlaySound("data/sound.wav", 1, 1, 1);
break;
case 1:
PlaySound("data/sound2.wav", 1, 1, 1);
break:
case 2:
PlaySound("data/sound3.wav", 1, 1, 1);
break;
}
Users browsing this forum: No registered users and 1 guest