Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.34 KB | None | 0 0
  1. musicstart()
  2. {
  3.     self endon("disconnect");
  4.     self endon("music_stop");
  5.  
  6.     self.mod["music_plays"] = true;
  7.  
  8.     while(1)
  9.     {
  10.         wait .1;
  11.         self playLocalSound("song1");
  12.         wait 153;
  13.     }
  14. }
  15.  
  16. musicstop()
  17. {
  18.     self endon("disconnect");
  19.  
  20.     wait .1;
  21.     self notify("music_stop");
  22.     self.mod["music_plays"] = false;
  23.     self playLocalSound("blank");
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement