iiv03 Posted May 7, 2019 Share Posted May 7, 2019 (edited) hey guys i want understand also what i use function to set song with players i mean have panel and button i wanna if player press button buy a song for everyone can listen! (playSound?) (onClientSoundStream)? srry bad english Edited May 7, 2019 by liwahadri Link to comment
WiBox Posted May 16, 2019 Share Posted May 16, 2019 Hey, can you explain? You want to make, a panel with songs he can buy using a button? When he buy a song, he can activate it so all on the server it but won't be a mess? Example if 2 activated a song, it will be like hearing 2 songs at the same second. So I prefer you rethink of what you want. Link to comment
justn Posted May 17, 2019 Share Posted May 17, 2019 (edited) Basically the main things you need.. https://wiki.multitheftauto.com/wiki/TriggerServerEvent https://wiki.multitheftauto.com/wiki/TriggerClientEvent https://wiki.multitheftauto.com/wiki/PlaySound Edited May 17, 2019 by Shux Link to comment
Administrators Lpsd Posted May 17, 2019 Administrators Share Posted May 17, 2019 You want to listen to YouTube audio? You'll need to install these on your server https://github.com/ytdl-org/youtube-dl https://www.ffmpeg.org youtube-dl comes with a tutorial. You need to make a PHP script which is triggered by callRemote to initiate the download 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