SpriterDrag

sound_ps(sound,loop?)

Mar 13th, 2013
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //sound_ps(sound,loop?) --> This script will play/loop the sound given in argument0.
  2.  
  3. sound_stop(argument0);
  4. if (argument1 == true)
  5.     sound_loop(argument0);
  6. else
  7.     sound_play(argument0);
Add Comment
Please, Sign In to add comment