Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LDT_Radio = LDT_Radio or {}
- LDT_Radio.Config = LDT_Radio.Config or {}
- LDT_Radio.Config.DisableCommand = "disableradios" -- This is the command for disabling all radios. This string will be prepended with "!" and "/"
- LDT_Radio.Config.EnableCommand = "enableradios" -- This is the command for enabling all radios. This string will be prepended with "!" and "/"
- LDT_Radio.Config.Language = "en" -- Currently there are en, tr, fr, es, ru, cn, ua and de translations available.
- LDT_Radio.Config.AdminRanks = { -- These ranks can change and modify any radio.
- ["superadmin"] = true,
- ["admin"] = true
- }
- LDT_Radio.Config.DisableParticles = false -- Disables the note particles when a radio is playing.
- LDT_Radio.Config.RadioMusicDistance = 250000 -- The maximum distance the radio will be heard at.
- LDT_Radio.Config.DisableCarRadio = false -- Disables the Car Radio feature
- LDT_Radio.Config.TurnOffCarRadioOnVehicleLeave = false -- Tuns of the radio when the driver leaves the vehicle.
- LDT_Radio.Config.OpenCarRadioButton = KEY_T -- Which key opens the car radio UI
- LDT_Radio.Config.MaxVolume = 1 -- The maximum volume a radio can be set to.
- -- OPTIONAL --
- -- If you wish to modify the radios. Follow this guide.
- -- 1. First, you need to copy the sh_radios.json from my website: https://spiralservers.net/gmod_radio/sh_radios.json
- -- 2. Then you need to either put it on your website where it can be accessed by the addon.
- -- Or you can use a service like GitHub Gist where you can upload text files.
- -- 3. If you are using your website copy the URL and put it into the RadiosURL.
- -- If you are using GitHub gist you need to upload a public gist. And then view it as raw. Then you can copy the raw URL and put it into the RadiosURL.
- -- 4. Now restart the server and your custom radios should be loaded. If not create a support ticket on GmodStore.
- LDT_Radio.Config.RadiosURL = "https://spiralservers.net/gmod_radio/sh_radios.json"
- -- These are the colors for every element of the UI. Feel free to change them to your liking.
- LDT_Radio.Config.Red = Color(255, 63, 5)
- LDT_Radio.Config.White = Color(255,255,255)
- LDT_Radio.Config.Grey = Color(47, 54, 64)
- LDT_Radio.Config.GreySecond = Color(53, 59, 72)
- LDT_Radio.Config.GreyThird = Color(53, 59, 72,100)
- LDT_Radio.Config.Yellow = Color(254, 211, 48)
- LDT_Radio.Config.Blue = Color(0, 151, 230)
Advertisement
Add Comment
Please, Sign In to add comment