int PlaySound(int handle, int volume)
Handle should be a handle obtained from loadsound()
Volume should be 0..100
You can also play this through a channel, as shown below. Playing through a channel allows you to use stopsound.
int MySound; int MyChannel; MySound = LoadSound("file.wav"); PlaySound(MySound, 100); //Played without assigned channel MyChannel = PlaySound(MySound, 100); //Played through a channel
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |