DrifteR Posted October 3, 2010 Share Posted October 3, 2010 Hi i have a question (wiki is not working now) i have this code local sound = playSound3D("music.mp3", 614, -1896, 3.5, true) setSoundVolume( sound, 100) My question is, how to expand the radios of the melody, i walk 3 meters from the center and it cuts off the melody! Can someone help? ___________________________________________________________________________________________ Sorry for my bad english, im from romania Link to comment
SnoopCat Posted October 3, 2010 Share Posted October 3, 2010 umm u mean playing the sound wherever u are or just a few meters more? Link to comment
Discord Moderators Zango Posted October 3, 2010 Discord Moderators Share Posted October 3, 2010 (edited) setSoundMaxDistance & setSoundMinDistance. Min distance should be 0, and max distance should be 3, for it to fade and stop playing after 3 metres Since wiki is down, it would be something like: setSoundMaxDistance ( sound, int distance ) setSoundMinDistance ( sound, int distance ) Edited October 3, 2010 by Guest 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