Jump to content

[REL] Speaker / radio system


Dutchman101

Recommended Posts

  • 5 months later...
  • MTA Anti-Cheat Team
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)

 

  • Like 2
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...