I had to make it a function because it was in main (where I played a wave before and that was okay, it came on with the title screens) but now it gives an error


handle = media_play("moonlight.mid",null,100);

function intro()
{ if (media_playing(handle) != 0) // this is line 54
{
error("The file is playing but cant be heard.");
}
wait(1);
}

function main()
{

intro(); // I used snd_play to plat a wav before)

// the error says "Error 63 parameter unknown handle"


Learning to write lite-C -- A8 commercial