Guest User

Untitled

a guest
Sep 10th, 2022
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.45 KB | None | 0 0
  1. Config = {}
  2.  
  3. -- "esx" or "qb"
  4. Config.Framework = "qb"
  5.  
  6. -- Enables the rewards feature for stations, requires esx_society or qb-mangement
  7. Config.Society = false
  8.  
  9. -- How often should the station be paid for their listener count? (In seconds)
  10. Config.PayInterval = 60
  11.  
  12. -- When should payment be capped off for amount of listeners (in listeners)
  13. Config.MaxListenerPay = 10
  14.  
  15. -- Allow players to use a portable radio? (Requires ESX or QB item)
  16. Config.PortablePlayer = true
  17. Config.ItemName = "mp3"
  18.  
  19. -- Allow players to use the radio in their vehicle?
  20. Config.VehicleRadio = true
  21.  
  22. -- The maximum length of a song before it's auto skipped
  23. Config.MaxLength = 300
  24.  
  25. -- The button used to open a DJ deck
  26. Config.DeckButton = 38 -- Default: E
  27.  
  28. -- Volume command name
  29. Config.VolumeCommand = "stationvol"
  30.  
  31. -- The higher the number, the higher priority it has in playing a station
  32. -- For example, the player will hear the station that nearby speakers are playing, regardless of their car radio or MP3
  33. Config.Priority = {
  34.     ["none"] = 0,
  35.     ["mp3"] = 1,
  36.     ["car"] = 2,
  37.     ["speaker"] = 3,
  38.     ["deck"] = 4
  39. }
  40.  
  41. -- Read the docs for help setting up new stations
  42. -- https://docs.palscripts.xyz/radio-dj-job/configuration/create-radio-station
  43. Config.Stations = {
  44.  
  45.     -- By default, this uses Gabz Triad Records MLO
  46.     ["triads"] = {
  47.         name = "Triad Records",
  48.         job = "radiodj",
  49.         replace = "RADIO_01_CLASS_ROCK",
  50.         deckLocation = vector3(-818.51, -719.04, 32.34),
  51.         rewards = {
  52.             societyAccount = "triads",
  53.             payPerListener = 50,
  54.         }
  55.     },
  56.  
  57.     -- By default, this uses Gabz MRPD as a deck location
  58.     ["government"] = {
  59.         name = "Totally Not Propaganda",
  60.         job = "police",
  61.         replace = "RADIO_02_POP",
  62.         deckLocation = vector3(442.24, -998.74, 34.97)
  63.     },
  64.    
  65. }
  66.  
  67. -- Permanent speakers that will play music in a proxmity
  68. Config.Speakers = {
  69.  
  70.     -- By default, this uses Gabz Triad Records MLO
  71.     ["triadsbar"] = {
  72.         station = "triads",
  73.         speakerLocation = vector3(-838.13, -719.94, 28.28),
  74.         radius = 10
  75.     },
  76.  
  77.     ["vanillaunicorn"] = {
  78.         station = "triads",
  79.         speakerLocation = vector3(109.62, -1289.04, 29.25),
  80.         radius = 20
  81.     }
  82.  
  83. }
  84.  
  85. -- Shouldn't really enable this unless you're told 👁‍🗨
  86. -- (Please, defiently, don't this enable this on a live server)
  87. Config.Debug = false
  88. Config.DebugStation = "triads"
Advertisement
Add Comment
Please, Sign In to add comment