Hey! Use handles and 'media_playing' for that.
Something like this:
Code
void play_media()
{
	var handle = media_play(...)
	while(media_playing(handle))
	{
		wait(1);
	}
}


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung