GetCurrentMusic()
Returns the number of the currently playing background music, or -1 if
no music is playing.
Example:
if (GetCurrentMusic()==-1)
PlayMusic(2);
will play music2 if no music is playing.
See Also: IsMusicPlaying, IsSoundPlaying, SetMusicRepeat, SetMusicVolume
|