~Air Posted November 19, 2014 Posted November 19, 2014 Hey, could you tell how how ^this is possible?
boro Posted November 19, 2014 Posted November 19, 2014 What you mean ? You want stop currrent map music when is map finished or end ? it is for race map?
~Air Posted November 19, 2014 Author Posted November 19, 2014 No if someone wins a winsound is playing, but the problem is you can't hear the winsound that good because the mapmusic is so loud, thats why I want to disable the map music and when the winsound is finished to start the mapmusic again.
~Air Posted November 19, 2014 Author Posted November 19, 2014 I didn't do a code for that, because I don't know the functions how to disable the mapmusic
boro Posted November 19, 2014 Posted November 19, 2014 Then i dont help you. Because i need your code with this song for example how work. Now i dont know nothing.
Saml1er Posted November 19, 2014 Posted November 19, 2014 Open race_client.lua in race resource and add this line in top. _playSound = playSound function playSound ( ... ) local sound = _playSound(...) if not sound then return false end setSoundVolume(sound, 0.5) return sound end
~Air Posted November 19, 2014 Author Posted November 19, 2014 There are many winsounds. And the winsounds are inplented in my userpanel, GUI etc.
Saml1er Posted November 19, 2014 Posted November 19, 2014 There are many winsounds.And the winsounds are inplented in my userpanel, GUI etc. I gave you a piece of code which will set volume of map music to 50%.
~Air Posted November 19, 2014 Author Posted November 19, 2014 I will try it later, thank you! I gonna edit the post if it worked.
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