Why won't this work...
Why doesn't this pause script work?
1. It doesn't stop the midi playing.
2. It doesn't stop timer if there's a one going on. Stop_entire_game(); won't work.
Here's the script:
//Key 80 (P)
void main(void)
{
turn_midi_off();
playsound(52,22050,0,0,0);
show_bmp("graphics\pause.bmp", 0, 0);
playsound(53,22050,0,0,0);
turn_midi_on();
}
1. It doesn't stop the midi playing.
2. It doesn't stop timer if there's a one going on. Stop_entire_game(); won't work.
Here's the script:
//Key 80 (P)
void main(void)
{
turn_midi_off();
playsound(52,22050,0,0,0);
show_bmp("graphics\pause.bmp", 0, 0);
playsound(53,22050,0,0,0);
turn_midi_on();
}