AlphaMark Posted February 11, 2014 Posted February 11, 2014 How can i turn the siren lights on but not the siren sounds?? I found this page... https://wiki.multitheftauto.com/wiki/Ge ... irenParams
Bonsai Posted February 11, 2014 Posted February 11, 2014 Check: SetWorldSoundEnabled and setDevelopmentMode and showSound.
AlphaMark Posted February 11, 2014 Author Posted February 11, 2014 Im getting this error showsound will have no effect because development mode is off But the development mode is activated by this script: addCommandHandler( "devmode", function () setDevelopmentMode ( true ) end )
AlphaMark Posted February 11, 2014 Author Posted February 11, 2014 unexpected symbol near '[' in this line setWorldSoundEnabled(17, [index = 10,] false)
AlphaMark Posted February 11, 2014 Author Posted February 11, 2014 If i do it like this: setWorldSoundEnabled(17 [index = 10], false) Then i still get an error. Same with: setWorldSoundEnabled(17, [index = 10] false) Same with: setWorldSoundEnabled(17 [index = 10,] false)
Bonsai Posted February 11, 2014 Posted February 11, 2014 setWorldSoundEnabled(17, 10, false) That [index = 10] is just for explanation in wiki.
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