Rob0 Posted January 23, 2016 Share Posted January 23, 2016 As I recall the San Andreas radio stations can play in MTA. Is there a way to set the the client's In car radio off, and turn their San Andreas game radio volume to 0? Link to comment
killeryoyo Posted January 23, 2016 Share Posted January 23, 2016 maybe you can use this setSoundVolume or maybe pausing it when the resource starts setSoundPaused Link to comment
Drakath Posted January 23, 2016 Share Posted January 23, 2016 maybe you can use this setSoundVolume or maybe pausing it when the resource starts setSoundPaused He can't use this because there is no way to get the radio channel as an element. Use setRadioChannel(0) to turn off the radio. Link to comment
1LoL1 Posted January 23, 2016 Share Posted January 23, 2016 Try this: function radio() setRadioChannel(0) cancelEvent() end addEventHandler("onClientPlayerVehicleEnter",getRootElement(),radio) addEventHandler("onClientPlayerRadioSwitch",getRootElement(),radio) 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