MTA Anti-Cheat Team Popular Post Dutchman101 Posted November 27, 2020 MTA Anti-Cheat Team Popular Post Share Posted November 27, 2020 DOWNLOAD: https://community.multitheftauto.com/?p=resources&s=details&id=18330 Speaker system, it lets players create their own boxes to stream music (internet radio, and sound links like .mp3), and other players will hear it. - Sizable list of preset internet radio stations (see pic) - Players can also use custom URL, to play their own music - Speakers will be placed near player, or if they are inside a vehicle, it will be attached to their vehicle - Song title, if present, will be displayed above the speaker - Players (with "Turn other box" button) can decide if they want to hear everyone's speakers, or only their own speakers. This is useful for not having to listen to other people's music taste, a lot of music mixing with eachother, limited bandwidth, and for security aware users. This option will be saved in client settings file. - Admins can see the name of player who placed an individual speaker (hold left alt) and delete a speaker with /delbox [ID]. The ID is displayed next to speaker owner name. Hope someone finds it useful! 5 2 1 Link to comment
Nixon Posted November 27, 2020 Share Posted November 27, 2020 Cool! Thanks for sharing. Link to comment
Agent-47 Posted May 23, 2021 Share Posted May 23, 2021 In this speaker script, the song won't repeat when it is finished. How to make it play songs in loop?? Link to comment
MTA Anti-Cheat Team Dutchman101 Posted May 23, 2021 Author MTA Anti-Cheat Team Share Posted May 23, 2021 12 minutes ago, Agent-47 said: In this speaker script, the song won't repeat when it is finished. How to make it play songs in loop?? That's simple client.lua: local radio = playSound3D(ent[2], ent[3], ent[4], ent[5], false, false) just change the first "false" to "true" (check looped from https://wiki.multitheftauto.com/wiki/PlaySound3D) So it becomes local radio = playSound3D(ent[2], ent[3], ent[4], ent[5], true, false) 2 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