Paul159 link said:I dont know
{$CLEO .cs}
thread 'MUSIC'
:MCleo_01
wait 0
if
0AB0: key_pressed 104
else_jump @MCleo_02
0AAC: $hMP1 = load_audiostream "CLEO/MUSIC1.MP3"
0AAE: release_mp3 $hMP1
0AAD: set_mp3 $hMP1 perform_action 1 //0=stop, 1=play, 2=pause, 3=resume
0ABC: set_audiostream $hMP1 volume 1.0
0AAF: 0@ = get_mp3_length $hMP1
jump @MCleo_01
:MCleo_02
wait 0
if
0AB0: key_pressed 105
else_jump @MCleo_01
0AAC: $hMP1 = load_audiostream "CLEO/MUSIC1.MP3"
0AAE: release_mp3 $hMP1
0AAD: set_mp3 $hMP1 perform_action 1 //0=stop, 1=play, 2=pause, 3=resume
0ABC: set_audiostream $hMP1 volume 0.0
0AAF: 0@ = get_mp3_length $hMP1
jump @MCleo_01
monday link said:0AAE: release_mp3 $hMP1 //not even sure about this one but that's how i used it
The gay Gamer link said::yesyes: Everything went well, but when I play it after stopping it, the voice gets a but mixed up and it gets loud, its as if the .mp3 file is running multiple times at once.
{$CLEO .cs}
thread 'MUSIC'
:MCleo_01
wait 0
if
0AB0: key_pressed 104
else_jump @MCleo_02
0AAC: $hMP1 = load_audiostream "CLEO/MUSIC1.MP3"
0AAD: set_mp3 $hMP1 perform_action 1
jump @MCleo_01
:MCleo_02
wait 0
if
0AB0: key_pressed 105
else_jump @MCleo_01
0AAD: set_mp3 $hMP1 perform_action 2
jump @MCleo_01