Advertisement
Guest User

Untitled

a guest
Apr 28th, 2021
11,491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.17 KB | None | 0 0
  1. Config = {
  2.  
  3. -------------------------------------------------------------
  4. -- IMPORTANT
  5. -- All parts need to be added to inventory
  6. -- Custom vehicle sounds for engines (https://www.gta5-mods.com/vehicles/brabus-inspired-custom-engine-sound-add-on-sound)
  7. -------------------------------------------------------------
  8.  
  9.  
  10. WearRate = 100000, -- The rate parts wear off (Higher the value less wear on the parts)
  11. UseMiles = true, -- If set to false it will use kilometers
  12. UseRelativeValues = true, -- If set to true cars performance wouldnt be affected with stock parts. Otherwise stock car parts will make the car slower
  13.  
  14.  
  15. --Times to repair/install certain parts in miliseconds
  16. EngineRepairTime = 10000,
  17. EngineInstallTime = 15000,
  18.  
  19. TurboRepairTime = 10000,
  20. TurboInstallTime = 15000,
  21.  
  22. NitroInstallTime = 10000,
  23.  
  24. OilInstallTime = 5000,
  25.  
  26. TransmitionInstallTime = 14000,
  27. TransmitionRepairTime = 10000,
  28.  
  29. TireRepairTime = 3000,
  30. TireInstallTime = 3000,
  31.  
  32. BreaksInstallTime = 4000,
  33. BreaksRepairTime = 4000,
  34.  
  35. SuspensionInstallTime = 5000,
  36. SuspensionRepairTime = 5000,
  37.  
  38.  
  39. MechanicWorkshop = { -- Mechanic Workshops where mechanics can use MechanicWorkshopAccess
  40.  
  41. {coords = vector3(110.4730758667,6626.2397460938,31.78723144531), radius = 20.0}
  42.  
  43. },
  44.  
  45. --Check engine, Low oil, Mileage location on screen
  46. InfoBottom = 1,
  47. InfoRight = 1,
  48.  
  49.  
  50. -- Parts of vehicle certain condicions can access! For example with mechanic tool box you will be able to access parts mentioned in MechanicTools
  51. -- PART LIST (engine, oil, brakes, suspension, turbo, nitro )
  52.  
  53. BearHandsAccessCommand = 'inspect',
  54. BearHandsAccess = {
  55. ['oil'] = true,
  56. ['nitro'] = true
  57.  
  58. },
  59.  
  60. ToolBoxAccess = {
  61. ['oil'] = true,
  62. ['tires'] = true,
  63. ['nitro'] = true
  64. },
  65.  
  66. MechanicToolsAccess = {
  67. ['brakes'] = true,
  68. ['oil'] = true,
  69. ['tires'] = true,
  70. ['suspension'] = true,
  71. ['nitro'] = true
  72. },
  73.  
  74. MechanicWorkshopAccess = {
  75. ['brakes'] = true,
  76. ['oil'] = true,
  77. ['nitro'] = true,
  78. ['tires'] = true,
  79. ['suspension'] = true,
  80. ['engine'] = true,
  81. ['transmition'] = true,
  82. ['turbo'] = true
  83. },
  84.  
  85.  
  86. -- Parts that your vehicle will be able to use to modify its performance on the road. These parts also need to be added to the item databse.
  87. -- usability - is to exclude some parts to be used on some vehicles exclusive is usually car spawn code
  88. -- power - depends if using relative values but it will increase vehicles power
  89. -- durability - (IMPORTANT) Enter value from 0 to 100. 100 means that the part will never break
  90. -- repair - enter ingrediants to fix up the part. If part is at 0 percent you will need to replace.
  91.  
  92. Turbos = { -- Turbos affect your car speed at higher rpm's. When turbos break you lose power
  93.  
  94. ['turbo_lvl_1'] = {
  95. label = "GARET TURBO",
  96. usability = {exclusive = {}, vehicletypes = {}},
  97. power = 10.0,
  98. durability = 50.0,
  99. repair = {
  100. ['iron'] = {amount = 5, reusable = false}
  101. }
  102. }
  103.  
  104. },
  105.  
  106. NitroKey = 'LEFTSHIFT', -- Key to use nitro when available
  107.  
  108. Nitros = { -- Nitro affect vehicle power and increases vehicle wear during usage
  109.  
  110. ['nos'] = {
  111. label = "NOS",
  112. usability = {exclusive = {}, vehicletypes = {}},
  113. power = 100.0,
  114. durability = 30.0 -- Here enter seconds until nitro will run out
  115. }
  116.  
  117. },
  118.  
  119. Transmitions = {
  120.  
  121. ['stock_transmition'] = {
  122. label = "STOCK TRANSMITION",
  123. usability = {exclusive = {}, vehicletypes = {}},
  124. shiftingtime = 0.9,
  125. drivingwheels = 'DEFAULT',
  126. durability = 80.0,
  127. repair = {
  128. ['iron'] = {amount = 5, reusable = false}
  129. }
  130. },
  131.  
  132. ['race_transmition'] = {
  133. label = "RACE TRANSMITION",
  134. usability = {exclusive = {}, vehicletypes = {}},
  135. shiftingtime = 3.0,
  136. drivingwheels = 'RWD',
  137. durability = 50.0,
  138. repair = {
  139. ['iron'] = {amount = 5, reusable = false}
  140. }
  141. }
  142.  
  143. },
  144.  
  145. Suspensions = { -- Suspension will affect handling and will look super cool. Decrease power to lower the vehicle and give better handling.
  146.  
  147. ['stock_suspension'] = {
  148. label = "STOCK SUSPENSION",
  149. usability = {exclusive = {}, vehicletypes = {}},
  150. height = 0,
  151. traction = 0,
  152. durability = 80.0,
  153. repair = {
  154. ['iron'] = {amount = 5, reusable = false}
  155. }
  156. },
  157.  
  158. ['race_suspension'] = {
  159. label = "RACE SUSPENSION",
  160. usability = {exclusive = {}, vehicletypes = {}},
  161. height = -0.04,
  162. traction = 1.0,
  163. durability = 50.0,
  164. repair = {
  165. ['iron'] = {amount = 5, reusable = false}
  166. }
  167. },
  168.  
  169.  
  170.  
  171. },
  172.  
  173. Oils = { -- Oils keep your car cool and happy if oil runs out car parts will start to wear off fast.
  174.  
  175. ['stock_oil'] = {
  176. label = "STOCK OIL",
  177. usability = {exclusive = {}, vehicletypes = {}},
  178. durability = 10.0,
  179. },
  180.  
  181. ['shell_oil'] = {
  182. label = "SHELL OIL",
  183. usability = {exclusive = {}, vehicletypes = {}},
  184. durability = 50.0,
  185. }
  186.  
  187. },
  188.  
  189.  
  190.  
  191. Engines = { -- Engines will make your car faster and will give it a different sound. Increase power to make car faster.
  192.  
  193. ['stock_engine'] = {
  194. label = "STOCK ENGINE",
  195. power = 0.0,
  196. durability = 80.0,
  197. usability = {exclusive = {}, vehicletypes = {}},
  198. sound = "DEFAULT",
  199. repair = {
  200. ['iron'] = {amount = 10, reusable = false},
  201. ['piston'] = {amount = 3, reusable = false}
  202. }
  203. },
  204.  
  205. ['v8engine'] = {
  206. label = "V8 ENGINE",
  207. power = 30.0,
  208. durability = 50.0,
  209. usability = {exclusive = {}, vehicletypes = {}},
  210. sound = "brabus850", -- These sounds are not in by default download from (https://www.gta5-mods.com/vehicles/brabus-inspired-custom-engine-sound-add-on-sound)
  211. repair = {
  212. ['iron'] = {amount = 10, reusable = false},
  213. ['piston'] = {amount = 8, reusable = false}
  214. }
  215. },
  216.  
  217. ['2jzengine'] = {
  218. label = "2JZ ENGINE",
  219. power = 50.0,
  220. durability = 50.0,
  221. usability = {exclusive = {}, vehicletypes = {}},
  222. sound = "toysupmk4", -- These sounds are not in by default download from (https://www.gta5-mods.com/vehicles/brabus-inspired-custom-engine-sound-add-on-sound)
  223. repair = {
  224. ['iron'] = {amount = 10, reusable = false},
  225. ['piston'] = {amount = 6, reusable = false}
  226. }
  227. },
  228.  
  229. },
  230.  
  231. Tires = { -- Tires affect your cars handling when launching and in corners. Increase traction for better grip or decrease for more drift. When they wear off you will drive without tires lol
  232.  
  233. ['stock_tires'] = {
  234. label = "STOCK TIRES",
  235. usability = {exclusive = {}, vehicletypes = {}},
  236. traction = -0.04,
  237. lowspeedtraction = 0.0,
  238. durability = 80.0,
  239. repair = {
  240. ['rubber'] = {amount = 5, reusable = false}
  241. }
  242. },
  243.  
  244. ['michelin_tires'] = {
  245. label = "MICHELIN",
  246. usability = {exclusive = {}, vehicletypes = {}},
  247. traction = 1.0,
  248. lowspeedtraction = -2.7,
  249. durability = 30.0,
  250. repair = {
  251. ['rubber'] = {amount = 5, reusable = false}
  252. }
  253. },
  254.  
  255.  
  256. },
  257.  
  258. Brakes = { -- Brakes allow you to stop your car. Increase power to make brakes more affective. When brakes break you will lose ability to break
  259.  
  260. ['stock_brakes'] = {
  261. label = "STOCK BRAKES",
  262. usability = {exclusive = {}, vehicletypes = {}},
  263. power = 1.0,
  264. durability = 30.0,
  265. repair = {
  266. ['iron'] = {amount = 5, reusable = false}
  267. }
  268. },
  269.  
  270. ['race_brakes'] = {
  271. label = "CERAMIC BRAKES",
  272. usability = {exclusive = {}, vehicletypes = {}},
  273. power = 2.0,
  274. durability = 30.0,
  275. repair = {
  276. ['iron'] = {amount = 5, reusable = false}
  277. }
  278. }
  279.  
  280. },
  281.  
  282.  
  283.  
  284. Text = {
  285.  
  286. ['hood_closed'] = 'Hood is closed!',
  287. ['mechanic_action_complete'] = 'Repair completed',
  288. ['mechanic_action_started'] = 'Repair started',
  289. ['wrong_job'] = 'Incorrect job',
  290. ['not_enough'] = 'Not enough items'
  291.  
  292. }
  293.  
  294. }
  295.  
  296.  
  297.  
  298. function SendTextMessage(msg)
  299.  
  300. SetNotificationTextEntry('STRING')
  301. AddTextComponentString(msg)
  302. DrawNotification(0,1)
  303.  
  304. --EXAMPLE USED IN VIDEO
  305. --exports['mythic_notify']:SendAlert('inform', msg)
  306.  
  307. end
  308.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement