allocchannel.bmx 157 B

1234567891011
  1. 'AllocChannel.bmx
  2. timer=createtimer(20)
  3. sound=LoadSound ("shoot.wav")
  4. channel=AllocChannel()
  5. for i=1 to 20
  6. waittimer timer
  7. playsound sound,channel
  8. next