warum funzt das nicht wo ist der fehler ?
function song_startup()
{
var song = 0;
while(1)
song = integer(random(3)); Wenn ich hier int statt integer schreibe gehts nicht
{
if(song == 1)
{
media_play("another excuse - soulwax.mp3",NULL,550);
}
if(song == 2)
{
media_play("rise to the challenge - AsianDubF.mp3",NULL,550);
}
if(song == 3)
{
media_play("Here we go - Broken Dolls.mp3",NULL,550);
}
while(media_playing(media_handle)) wait(1);
wait(1); //Warten, bis das Stück zuende ist...
}
}
Last edited by janerwac13; 08/03/10 17:23.