JR10 Posted June 15, 2011 Share Posted June 15, 2011 store it to a variable and then use stopSound function like this: local sound = playSound3D('sound.mp3', x, y, z) --later stopSound(sound) Link to comment
karlis Posted June 15, 2011 Share Posted June 15, 2011 or theSound=playSound3D() --args here destroyElement(theSound) if, the sound wont be needed again, it will be more efficient that way Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now