Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.62 KB | None | 0 0
  1. if (!(currentlyPlaying[0] || currentlyPlaying[1] || currentlyPlaying[2] ||
  2.                     currentlyPlaying[3] || currentlyPlaying[4]))
  3.                 {
  4.                     for (int i = 0; i < 5; i++)
  5.                     {
  6.                         if (soundThreads[i].IsAlive)
  7.                             soundThreads[i].Suspend();
  8.                     }
  9.                     playUntilFinished(SOUNDS.RINGNECKS);
  10.                     for (int i = 0; i < 5; i++)
  11.                     {
  12.                         if (ifAlive[i])
  13.                             soundThreads[i].Resume();
  14.                     }
  15.  
  16.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement