WARNING! This function has been obsoleted and you
should use audio_pause_sound
With this function you can pause a music track that is currently playing.
global.Pause = !global.Pause;
The above code checks for a press of the keyboard key "P" and if it detects one it sets the global variable "Pause" to true or false and then either pauses the music or it resumes the music from its paused state depending on the returned value.