Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!(currentlyPlaying[0] || currentlyPlaying[1] || currentlyPlaying[2] ||
- currentlyPlaying[3] || currentlyPlaying[4]))
- {
- for (int i = 0; i < 5; i++)
- {
- if (soundThreads[i].IsAlive)
- soundThreads[i].Suspend();
- }
- playUntilFinished(SOUNDS.RINGNECKS);
- for (int i = 0; i < 5; i++)
- {
- if (ifAlive[i])
- soundThreads[i].Resume();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement