Rob0 Posted April 27, 2015 Share Posted April 27, 2015 How might I put music on my server that all users can play, or if 'stereo' is selected in your vehicle upgrades, all users could hear one players streamed music as they drive by. I've seen this around MTA is it a public resource? Link to comment
Mr.unpredictable. Posted April 27, 2015 Share Posted April 27, 2015 How might I put music on my server that all users can play, or if 'stereo' is selected in your vehicle upgrades, all users could hear one players streamed music as they drive by. I've seen this around MTA is it a public resource? I don't know if it's public or not but you can easily create One. Link to comment
Rob0 Posted April 27, 2015 Author Share Posted April 27, 2015 sounds like You could Easily create one, and thanks for sharing this info, but alas your post was of no help to me... I write novel lua code all the time, but on this have no idea where to begin. I also know how to get links and listen to these streams via VLC media player http://listen.housetime.fm/tunein-aacisdn-pls . But can't put the two together and have found no public resource of similar function that does both while broadcasting through the vehicle' s stereo upgrade, in f1 gui, to other players as you drive-by. Offer a little help don't be of little help. Link to comment
Dealman Posted April 28, 2015 Share Posted April 28, 2015 You use triggerClientEvent on all current players, and the triggered event then in return runs playSound or playSound3D. You can then attach the sound to a car via attachElements. 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