AlphaMark Posted February 11, 2014 Share 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 Link to comment
Bonsai Posted February 11, 2014 Share Posted February 11, 2014 Check: SetWorldSoundEnabled and setDevelopmentMode and showSound. Link to comment
AlphaMark Posted February 11, 2014 Author Share 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 ) Link to comment
Karuzo Posted February 11, 2014 Share Posted February 11, 2014 Is it client-side in your meta? Link to comment
AlphaMark Posted February 11, 2014 Author Share Posted February 11, 2014 unexpected symbol near '[' in this line setWorldSoundEnabled(17, [index = 10,] false) Link to comment
AlphaMark Posted February 11, 2014 Author Share 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) Link to comment
Bonsai Posted February 11, 2014 Share Posted February 11, 2014 setWorldSoundEnabled(17, 10, false) That [index = 10] is just for explanation in wiki. 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