mint3d Posted May 27, 2014 Posted May 27, 2014 Ok so I have this script addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local sound = playSound3D( 'http://www.181.fm/winamp.pls?station=181-power&style=mp3&description=Power%20181%20(Top%2040)&file=181-power.pls', 488.087890625, -14.6435546875, 1000.6796875 ) setSoundMaxDistance(sound, 4000 ) setElementDimension ( sound, 7 ) setElementInterior ( sound, 17 ) setSoundVolume(sound, 1) setInteriorSoundsEnabled end ) Everything worked good until I tried to remove the original music from Alhambra can someone help me? I want to remove Alhambra music. Skype: Jordan_Nymph
Castillo Posted May 27, 2014 Posted May 27, 2014 You can't disable music in a per interior basis, if you disable them, it's global. setInteriorSoundsEnabled ( false ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
mint3d Posted May 27, 2014 Author Posted May 27, 2014 So it disabled all music in every interior? Skype: Jordan_Nymph
xXMADEXx Posted May 27, 2014 Posted May 27, 2014 So it disabled all music in every interior? This function allows you to disable the music played by default in clubs. The Ultimate Lua Tutorial! | MTA PHP SDK
mint3d Posted May 27, 2014 Author Posted May 27, 2014 How would I put it into a script? I mean surely I can't just add that line.. Skype: Jordan_Nymph
Castillo Posted May 28, 2014 Posted May 28, 2014 Yeah, you can. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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