Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2022
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. Config = {}
  2. Config.Locale = 'en'
  3. Config.debug = false
  4.  
  5. Config.ESX = {
  6. enabled = true,
  7. }
  8.  
  9. Config.QBCore = {
  10. enabled = false,
  11. }
  12.  
  13. Config.useKey = 'G'
  14. Config.cancelKey = 'X'
  15.  
  16. Config.sqlDriver = "mysql" -- options: "mysql" (for esx) or "oxmysql" (for QBCore)
  17.  
  18.  
  19.  
  20. Config.trackerItem = {
  21. itemEnabled = true, -- Only works if QBCore or ESX Enabled
  22. trackerGrades = {
  23. ["pd_tracker"] = {
  24. name = "Basic Vehicle Tracking Device",
  25. interval = 4000, -- How often the blip updates for the player
  26. tunnelAccuracy = 350.0, -- if set to 0, ignores tunnels alltogether
  27. },
  28. ["pd_adpt_tracker"] = {
  29. name = "Adept Vehicle Tracking Device",
  30. interval = 3000,
  31. tunnelAccuracy = 250.0,
  32. },
  33. ["pd_adv_tracker"] = {
  34. name = "Advanced Vehicle Tracking Device",
  35. interval = 2000,
  36. tunnelAccuracy = 150.0,
  37. },
  38. ["pd_mili_tracker"] = {
  39. name = "Military Vehicle Tracking Device",
  40. interval = 1500,
  41. tunnelAccuracy = 0.0,
  42. },
  43. },
  44. commandEnabled = true, -- Allows the use of the command
  45. command = "vtracker",
  46. requireScrewdriver = true, -- Requires the player to be in possesion of the screwdriver item to be able to install a Vehicle Tracking Device
  47. allowNaming = true, -- Allows the player to name their trackers
  48. timeIdlingBeforeNotif = 120.0, -- Time the vehicle has to idle for before the player gets a notification when its moving again (in seconds)
  49. timeoutTimer = 30 -- How long the tracker stays in the same location after its been removed(in seconds)
  50. }
  51.  
  52.  
  53.  
  54. Config.allowingPlacingInInterior = "Dashboard" -- Name for the interior spot
  55. Config.trackerLocations = {
  56. car = {
  57. ["hub_lf"] = "Front Left Wheel Hub",
  58. ["hub_rf"] = "Front Right Wheel Hub",
  59. ["hub_rr"] = "Rear Right Wheel Hub",
  60. ["hub_lr"] = "Rear Left Wheel Hub",
  61. ["back"] = "Back Bumper",
  62. ["front"] = "Front Bumper"
  63. },
  64. bike = {
  65. ["exhaust"] = "Rear",
  66. ["forks_u"] = "Front"
  67. },
  68. helicopter = {
  69. ["wheel_lr"] = "Here",
  70. ["wheel_rr"] = "Here",
  71. ["wheel_lf"] = "Here",
  72. ["wheel_rf"] = "Here"
  73. },
  74. plane = {
  75. ["aileron_l"] = "Left Wing",
  76. ["aileron_r"] = "Right Wing",
  77. ["wheel_rf"] = "Here",
  78. ["wheel_lf"] = "Here",
  79. ["wheel_lr"] = "Here",
  80. ["wheel_rr"] = "Here"
  81. }
  82. }
  83.  
  84. Config.screwdriverItem = "pd_screwdriver" -- Database name for the screwdriver
  85.  
  86. Config.removeTracker = { -- Allows the use of the command
  87. commandEnabled = true,
  88. command = "removevtracker",
  89. requireScrewdriver = true, -- Requires the player to be in possesion of the screwdriver item to be able to renmove a Vehicle Tracking Device
  90. screwdriverUseFunctionality = true,
  91. }
  92.  
  93. Config.scanner = {
  94. enabled = true,
  95. itemEnabled = true,
  96. itemName = 'pd_scanner',
  97. commandEnabled = true, -- Allows the use of the command
  98. command = "scanvtracker"
  99. }
  100.  
  101. Config.jammer = {
  102. enabled = true,
  103. itemEnabled = true,
  104. itemName = 'pd_jammer',
  105. jammedBlipSize = 150.0,
  106. requiresJobToInstall = true,
  107. jobName = 'mechanic',
  108. commandEnabled = true,
  109. command = "installvjammer"
  110. }
  111.  
  112.  
  113. Config.blip = {
  114. sprite = 225, --https://docs.fivem.net/docs/game-references/blips/
  115. color = 27, --https://docs.fivem.net/docs/game-references/hud-colors/
  116. size = 0.85,
  117. classSprites = {
  118. {sprite = 64, class = 15}, -- helicopter
  119. {sprite = 307, class = 16}, -- plane
  120. {sprite = 348, class = 8}, -- bikes
  121. {sprite = 427, class = 14}, -- boats
  122. {sprite = 530, class = 7}, -- super
  123. {sprite = 596, class = 5} -- classic super
  124. }
  125. }
  126.  
  127.  
  128. -- MINIGAME
  129. Config.keyBindsIn = {"S", "D", "W", "A"}
  130. Config.keyBindsOut = {"W", "D", "S", "A"}
  131. Config.minigameLength = 20 -- amount of keypresses
  132. Config.removalMessedUpDuration = 5
  133. Config.searchDuration = 5 --whole numbers (in seconds)
  134. Config.useSubtitles = true
  135.  
  136.  
  137.  
  138.  
  139. Config.blipColors = {
  140. {id=0, rgb={r = 255, g = 255, b = 255}},
  141. {id=1, rgb={r = 254, g = 50, b = 50}},
  142. {id=1, rgb={r = 150, g = 50, b = 50}},
  143. {id=1, rgb={r = 100, g = 50, b = 50}},
  144. {id=2, rgb={r = 113, g = 203, b = 113}},
  145. {id=3, rgb={r = 93, g = 182, b = 229}},
  146. {id=5, rgb={r = 238, g = 198, b = 78}},
  147. {id=7, rgb={r = 156, g = 110, b = 175}},
  148. {id=8, rgb={r = 254, g = 122, b = 195}},
  149. {id=9, rgb={r = 245, g = 157, b = 121}},
  150. {id=11, rgb={r = 141, g = 206, b = 167}},
  151. {id=12, rgb={r = 112, g = 168, b = 174}},
  152. {id=17, rgb={r = 234, g = 142, b = 80}},
  153. {id=20, rgb={r = 143, g = 141, b = 121}},
  154. {id=22, rgb={r = 175, g = 168, b = 168}},
  155. {id=24, rgb={r = 187, g = 214, b = 91}},
  156. {id=25, rgb={r = 12, g = 123, b = 86}},
  157. {id=29, rgb={r = 69, g = 97, b = 171}},
  158. {id=32, rgb={r = 200, g = 224, b = 254}},
  159. {id=33, rgb={r = 240, g = 240, b = 150}},
  160. {id=38, rgb={r = 44, g = 109, b = 184}},
  161. {id=38, rgb={r = 0, g = 20, b = 100}},
  162. {id=38, rgb={r = 0, g = 0, b = 184}},
  163. {id=40, rgb={r = 15, g = 15, b = 15}},
  164. {id=40, rgb={r = 30, g = 30, b = 30}},
  165. {id=40, rgb={r = 76, g = 76, b = 76}},
  166. {id=40, rgb={r = 100, g = 100, b = 100}},
  167. {id=46, rgb={r = 236, g = 240, b = 41}},
  168. {id=47, rgb={r = 255, g = 154, b = 24}},
  169. {id=76, rgb={r = 120, g = 35, b = 35}},
  170.  
  171. }
  172.  
  173.  
  174. Config.vehicleTrackingSupplies = {
  175. enabled = true,
  176. useBlip = true,
  177. locations = {
  178. {
  179. x = -228.6,
  180. y = 6332.1,
  181. z = 32.4,
  182. },
  183. {
  184. x = 845.9,
  185. y = -902.6,
  186. z = 25.3
  187. }
  188.  
  189. },
  190. items = {
  191. {
  192. item = "pd_screwdriver",
  193. label = 'Screwdriver (required to install or remove trackers)',
  194. price = 10,
  195. },
  196. {
  197. item = "pd_tracker",
  198. label = 'Vehicle Tracking Device',
  199. price = 100,
  200. },
  201. {
  202. item = "pd_adpt_tracker",
  203. label = 'Adept Vehicle Tracking Device',
  204. price = 200,
  205. },
  206. {
  207. item = "pd_adv_tracker",
  208. label = 'Advanced Vehicle Tracking Device',
  209. price = 500,
  210. },
  211. {
  212. item = "pd_mili_tracker",
  213. label = 'Military Vehicle Tracking Device',
  214. price = 1000,
  215. },
  216. {
  217. item = "pd_scanner",
  218. label = 'Vehicle Tracking Device Scanner',
  219. price = 500,
  220. },
  221.  
  222. {
  223. item = "pd_jammer",
  224. label = 'Vehicle Tracking Device Jammer',
  225. price = 30000,
  226. },
  227.  
  228. },
  229. payWithBank = true,
  230. }
  231.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement