Enk0

ek_garage

Jun 12th, 2026
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. Config = {}
  2.  
  3. --------------------------------------------------------------------------------
  4. -- Core Settings
  5. --------------------------------------------------------------------------------
  6. Config.Framework = 'ESX' -- 'ESX' or 'QBCore'
  7. Config.Locale = 'en' -- 'en', 'cs', 'es'
  8. Config.Currency = '$'
  9. Config.DateFormat = '24hour' -- '24hour' (DD/MM/YYYY) or '12hour' (MM/DD/YYYY)
  10.  
  11. -- Admin Groups for Commands
  12. Config.AdminGroups = {
  13. ['superadmin'] = true,
  14. ['admin'] = true
  15. }
  16.  
  17. --------------------------------------------------------------------------------
  18. -- Interaction & UI
  19. --------------------------------------------------------------------------------
  20. Config.Notify = 'ox' -- 'ox', 'esx', 'qb'
  21. Config.TextUI = 'ek' -- 'ox', 'esx', 'qb', 'ek'
  22. Config.TargetSystem = 'ox_target' -- 'ox_target', 'qb-target'
  23.  
  24. -- Interaction Mode: 'target' (uses TargetSystem) or 'key' (uses TextUI + Key Press)
  25. Config.GarageInteraction = 'key'
  26. Config.ImpoundInteraction = 'key'
  27.  
  28. -- Ped Models for Interactions
  29. Config.GaragePedModel = 'ig_benny'
  30. Config.ImpoundPedModel = 's_m_y_cop_01'
  31.  
  32. -- Available Ped Models for Garage Creator
  33. Config.PedList = {
  34. {label = 'Benny', value = 'ig_benny'},
  35. {label = 'Mechanic', value = 's_m_y_mechanic_01'},
  36. {label = 'Cop', value = 's_m_y_cop_01'},
  37. {label = 'Business Man', value = 'a_m_m_business_01'},
  38. {label = 'Security', value = 's_m_m_security_01'},
  39. {label = 'Valet', value = 's_m_y_valet_01'}
  40. }
  41.  
  42. -- Blip Settings
  43. Config.Blips = {
  44. CarGarage = {
  45. Name = 'Garage',
  46. Sprite = 357,
  47. Color = 47,
  48. Scale = 0.7
  49. },
  50. BoatGarage = {
  51. Name = 'Boat Dock',
  52. Sprite = 427,
  53. Color = 47,
  54. Scale = 0.7
  55. },
  56. AirGarage = {
  57. Name = 'Hangar',
  58. Sprite = 423,
  59. Color = 47,
  60. Scale = 0.7
  61. },
  62. Impound = {
  63. Name = 'Impound',
  64. Sprite = 67,
  65. Color = 21,
  66. Scale = 0.7
  67. }
  68. }
  69.  
  70. --------------------------------------------------------------------------------
  71. -- Gameplay Settings
  72. --------------------------------------------------------------------------------
  73. -- Mileage
  74. Config.UseMileage = true
  75. Config.MileageUnit = 'KM' -- 'KM' or 'MI'
  76.  
  77. -- Impound
  78. Config.ImpoundPrice = 500
  79. Config.ExpediteFee = 2000 -- Extra cost to release vehicle immediately if time hasn't passed
  80.  
  81. Config.ImpoundTimes = {
  82. { label = '1 Hour', value = 1 },
  83. { label = '12 Hours', value = 12 },
  84. { label = '1 Day', value = 24 },
  85. { label = '3 Days', value = 72 },
  86. { label = '7 Days', value = 168 }
  87. }
  88.  
  89. -- Keys
  90. Config.StoreKey = 47 -- G key (for storing vehicle)
  91.  
  92. -- Impound Command
  93. Config.ImpoundCommand = 'impoundmenu'
  94.  
  95. -- Permissions
  96. Config.ImpoundPermissions = {
  97. Seize = { -- Who can use /impoundmenu or seize cars
  98. ['police'] = true,
  99. ['sheriff'] = true
  100. },
  101. Return = { -- Who can access the Police Impound List (Return to Owner)
  102. ['police'] = true,
  103. ['sheriff'] = true
  104. }
  105. }
  106.  
  107. --------------------------------------------------------------------------------
  108. -- Locales System (Do not edit below unless you know what you are doing)
  109. --------------------------------------------------------------------------------
  110. Locales = {}
  111.  
  112. function _U(str, ...)
  113. if Locales[Config.Locale] then
  114. if Locales[Config.Locale][str] then
  115. return string.format(Locales[Config.Locale][str], ...)
  116. else
  117. return 'Translation [' .. Config.Locale .. '][' .. str .. '] does not exist'
  118. end
  119. else
  120. return 'Locale [' .. Config.Locale .. '] does not exist'
  121. end
  122. end
  123.  
  124. function _L(str)
  125. if not str then return nil end
  126. if Locales[Config.Locale] and Locales[Config.Locale][str] then
  127. return Locales[Config.Locale][str]
  128. end
  129. return str
  130. end
  131.  
Advertisement
Add Comment
Please, Sign In to add comment