Advertisement
Guest User

Untitled

a guest
Aug 18th, 2024
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.22 KB | None | 0 0
  1. --- IMPORTANT: check out client/editables/editables.lua, add your vehicle locking logic there, check out route making tool and so on!
  2. -- Make sure to check out qb or esx setup installation if you are one of those frameworks
  3. -- Ensure the script in your script.cfg
  4.  
  5. Config = {}
  6.  
  7. -- Type in 'esx' or 'qbcore' depending on your framework
  8. -- Type in '' if you are using standalone version
  9. Config.framework = 'esx'
  10.  
  11. Config.target = {
  12. enabled = true,
  13. system = 'ox_target'
  14. }
  15.  
  16. Config.job = {
  17. jobOnly = false,
  18. name = 'Trucker'
  19. }
  20.  
  21. Config.units = 'metric' -- metric or imperial
  22.  
  23. Config.qbSettings = {
  24. account = 'bank' -- bank or cash
  25. }
  26.  
  27. Config.esxSettings = {
  28. account = 'bank', -- bank or money
  29. useNewESXExport = true
  30. }
  31.  
  32. Config.keybinds = {
  33. interact = 'E'
  34. }
  35.  
  36. -- Coordinates of where players will be standing in the lobby
  37. Config.lobbyCoords = {
  38. ['firstPlayer'] = {
  39. x = 2667.1,
  40. y = 3511.6,
  41. z = 53.0,
  42. w = 332.0
  43. },
  44. ['secondPlayer'] = {
  45. x = 2665.9,
  46. y = 3510.7,
  47. z = 53.1,
  48. w = 335.0
  49. },
  50. ['thirdPlayer'] = {
  51. x = 190.9,
  52. y = 6385.0,
  53. z = 31.3,
  54. w = 205.2
  55. }
  56. }
  57.  
  58. Config.sellerPed = {
  59. message = 'Deliver cargo',
  60. pedModel = 'g_m_m_mexboss_01',
  61. duration = 2000, -- selling duration in ms
  62.  
  63. blip = {
  64. showBlip = true, -- whether or not to show the location blip on the map
  65. blipColor = 25,
  66. blipIcon = 431,
  67. blipLabel = 'Cargo Delivery'
  68. }
  69. }
  70.  
  71. --Add your own brand logos in ls_trucking/images folder and paste the name of the image there
  72. --Make sure to do "refresh" in F8 console and restart the script
  73. Config.brandLogoNames = {
  74. 'champion.jpg',
  75. 'flying-pig.jpg',
  76. 'landau-construction.jpg',
  77. 'last-mile.jpg',
  78. 'royal.jpg',
  79. 'joe-hardwood.jpg',
  80. 'ColdGecko.png',
  81. 'EdgeKart.png',
  82. 'Pastel&Co.png',
  83. 'OmegaMillion.png'
  84. }
  85.  
  86. Config.contractCargo = {
  87. ['vehicles'] = {
  88. --Utility
  89. {
  90. trailers = {
  91. 'freighttrailer',
  92. 'armytrailer'
  93. },
  94. freight = {
  95. {
  96. model = 'tractor2',
  97. label = 'Tractors'
  98. }
  99. },
  100. descriptions = {
  101. 'Deliver this tractor to a family eagerly awaiting their new addition from AgriLife.',
  102. 'Make sure these tractors arrive without delay, ready to assist with the day’s work on the field.',
  103. 'Get these tractors to their new home smoothly.',
  104. 'Handle and deliver these tractors securely, making sure they’re positioned correctly for farm operations.',
  105. 'Transport this tractor to a local entrepreneur who’s ready to use their new Landcraft equipment.',
  106. }
  107. },
  108. --Normal vehicles
  109. {
  110. trailers = {
  111. 'freighttrailer',
  112. 'armytrailer'
  113. },
  114. freight = {
  115. {
  116. model = 'club',
  117. label = 'Small Hatchbacks',
  118. },
  119. {
  120. model = 'dilettante',
  121. label = 'Cheap EVs',
  122. },
  123. {
  124. model = 'panto',
  125. label = 'Smart Cars'
  126. }
  127. },
  128. descriptions = {
  129. 'Transport these economical vehicles to a small business; they’re needed to start a new delivery service using their fresh Fleetline models.',
  130. 'Drop off these affordable rides to a new driver; they’re thrilled to get started with their first car from AutoTrend.',
  131. 'Deliver these cost-effective vehicles to a community group; they’re gearing up for their new project with their latest budget-friendly models from CityCruiser.',
  132. 'Get these economical cars to the enthusiastic buyers who can’t wait to start driving their new vehicles from ValueDrive.',
  133. 'Make sure these economical cars arrive safely; they’re needed for a community car-sharing program.',
  134. },
  135. },
  136. --Sports vehicles
  137. {
  138. trailers = {
  139. 'freighttrailer',
  140. 'armytrailer'
  141. },
  142. freight = {
  143. {
  144. model = 'gt500',
  145. label = 'Muscle cars'
  146. },
  147. {
  148. model = 'torero',
  149. label = 'Sports classics'
  150. },
  151. {
  152. model = 'tornado6',
  153. label = 'Retro cars'
  154. }
  155. },
  156. descriptions = {
  157. 'Customer\'s vehicle shipment has arrived. Transport these exotics with care.',
  158. 'A new wave of Italian classics have arrived. Deliver these sports classics for an up-coming car meet.',
  159. 'A Chinese scalper has won the auction and needs your help to deliver mechanical wonders.'
  160. },
  161. },
  162. -- Caravan
  163. {
  164. trailers = {
  165. 'freighttrailer',
  166. },
  167. freight = {
  168. {
  169. model = 'proptrailer',
  170. label = 'Caravan',
  171. },
  172. },
  173. descriptions = {
  174. 'Help this family move their caravan to their new address.',
  175. 'The caravan had better days, but its all they can afford. So help them move it to their new plot.'
  176. },
  177. },
  178. },
  179.  
  180. ['cargo'] = {
  181. {
  182. trailers = {
  183. 'freighttrailer',
  184. },
  185. freight = {
  186. {
  187. model = 'ls_blade',
  188. label = 'Wind Turbine blade'
  189. },
  190. },
  191. descriptions = {
  192. 'Storm has ripped and destroyed a wind turbine. Transport the blade to help them reconstruct the mill',
  193. 'A new park of sustainable energy is being built. Delivery the wind turbine blade to them.'
  194. },
  195. },
  196. {
  197. trailers = {
  198. 'freighttrailer',
  199. },
  200. freight = {
  201. {
  202. model = 'sf_prop_sf_gas_tank_01a',
  203. label = 'Gas Tank'
  204. },
  205. {
  206. model = 'prop_staticmixer_01',
  207. label = 'Static Mixer'
  208. },
  209. },
  210. descriptions = {
  211. 'New projects are being built, delivery of industrial equipment is needed',
  212. 'Real Estate is booming, transport this heavy duty equipment!'
  213. },
  214. },
  215. {
  216. trailers = {
  217. 'freighttrailer',
  218. },
  219. freight = {
  220. {
  221. model = 'prop_rub_buswreck_06',
  222. label = 'Bus Wreckage',
  223. },
  224. },
  225. descriptions = {
  226. 'Deliver this wreckage for scrapping, you do not have to be gentle'
  227. },
  228. },
  229. }
  230. }
  231.  
  232. Config.contracts = {
  233. ['singlePlayer'] = {
  234. moneyMin = 2500,
  235. moneyMax = 5000,
  236. ['trucks'] = {
  237. 'phantom',
  238. 'packer',
  239. },
  240.  
  241. ['routes'] = {
  242. {
  243. {x=2304.64,y=3244.15,z=47.78},
  244. {x=2258.46,y=3720.43,z=37.70},
  245. {x=2449.26,y=4241.34,z=37.01},
  246. {x=1349.16,y=4496.47,z=58.19},
  247. {x=125.41,y=4459.03,z=81.86},
  248. {x=-633.95,y=5103.80,z=129.98},
  249. {x=-1064.32,y=4902.92,z=212.11},
  250. },
  251. {
  252. {x=2153.50,y=3011.30,z=44.68},
  253. {x=309.44,y=2645.61,z=43.88},
  254. {x=107.74,y=2283.55,z=97.55},
  255. {x=-130.43,y=1928.68,z=196.29},
  256. },
  257. {
  258. {x=2304.64,y=3244.15,z=47.78},
  259. {x=2258.46,y=3720.43,z=37.70},
  260. {x=2449.26,y=4241.34,z=37.01},
  261. {x=1349.16,y=4496.47,z=58.19},
  262. {x=125.41,y=4459.03,z=81.86},
  263. {x=-633.95,y=5103.80,z=129.98},
  264. {x=-1064.32,y=4902.92,z=212.11},
  265. },
  266. {
  267. {x=2727.19,y=3291.86,z=55.13},
  268. {x=1715.73,y=1622.06,z=82.61},
  269. {x=1063.23,y=457.73,z=92.10},
  270. {x=1139.05,y=749.00,z=145.46},
  271. {x=482.52,y=873.34,z=197.46},
  272. {x=366.79,y=788.38,z=186.26},
  273. },
  274. {
  275. {x=2206.88,y=3703.46,z=37.27},
  276. {x=2478.80,y=4538.05,z=34.92},
  277. {x=1315.30,y=4370.30,z=41.31},
  278. },
  279. {
  280. {x=2075.02,y=2662.02,z=51.75},
  281. {x=1676.82,y=1383.82,z=86.90},
  282. {x=531.70,y=-331.90,z=43.59},
  283. {x=792.48,y=-1407.34,z=27.27},
  284. {x=723.74,y=-3008.36,z=9.04},
  285. {x=1246.56,y=-3295.19,z=5.80},
  286. },
  287. {
  288. {x=1345.42,y=2687.87,z=37.72},
  289. {x=-279.09,y=2895.49,z=45.72},
  290. {x=-1647.67,y=2432.59,z=26.94},
  291. {x=-3030.55,y=1898.42,z=28.94},
  292. {x=-3090.35,y=1343.61,z=20.24},
  293. {x=-3253.02,y=987.42,z=12.45},
  294. },
  295. {
  296. {x=2399.57,y=3207.00,z=47.38},
  297. {x=1835.99,y=3299.74,z=43.23},
  298. {x=740.38,y=3522.62,z=34.17},
  299. {x=-209.57,y=3820.32,z=38.43},
  300. {x=154.36,y=4418.37,z=75.78},
  301. {x=-596.89,y=5003.18,z=143.15},
  302. {x=-733.50,y=5197.59,z=104.48},
  303. {x=-665.49,y=5242.93,z=76.79},
  304. {x=-569.17,y=5256.91,z=70.47},
  305. },
  306. {
  307. {x=1860.53,y=2385.28,z=54.19},
  308. {x=2486.95,y=815.16,z=94.65},
  309. {x=2194.31,y=-765.68,z=68.91},
  310. {x=1762.63,y=-1396.51,z=111.45},
  311. {x=1719.89,y=-1731.48,z=112.49},
  312. {x=1708.63,y=-1661.63,z=112.47},
  313. },
  314. },
  315. -- Vehicle model which will spawn when player ends the delivery
  316. --- Put '' if you do not want to spawn a vehicle
  317. -- This only applies to single player missions
  318. returnVehicle = 'blista'
  319. },
  320. ['twoPlayer'] = {
  321. moneyMin = 5000,
  322. moneyMax = 10000,
  323. ['trucks'] = {
  324. --'phantom',
  325. 'packer'
  326. },
  327.  
  328. ['routes'] = {
  329. {
  330. {x=2669.62,y=3449.12,z=55.12},
  331. {x=1857.72,y=3211.85,z=44.55},
  332. {x=1191.09,y=2976.45,z=39.87},
  333. {x=491.32,y=3078.45,z=39.80},
  334. {x=-98.00,y=2982.72,z=36.58},
  335. {x=-724.25,y=2965.96,z=24.51},
  336. {x=-1627.90,y=2998.55,z=31.07},
  337. },
  338. {
  339. {x=2805.05,y=3396.02,z=55.30},
  340. {x=2780.65,y=4518.41,z=46.10},
  341. {x=2444.27,y=5691.90,z=44.53},
  342. {x=1424.14,y=6470.69,z=19.86},
  343. {x=458.43,y=6571.81,z=26.35},
  344. {x=148.27,y=6352.75,z=30.77},
  345. },
  346. {
  347. {x=1059.96,y=2686.37,z=39.14},
  348. {x=-168.39,y=1890.20,z=198.23},
  349. {x=-731.87,y=1149.50,z=262.64},
  350. {x=-385.25,y=1219.92,z=325.64},
  351. },
  352. {
  353. {x=2097.92,y=1381.84,z=75.56},
  354. {x=2359.29,y=-312.11,z=85.18},
  355. {x=1265.21,y=-1125.39,z=50.50},
  356. {x=1092.02,y=-1178.75,z=45.61},
  357. {x=1064.85,y=-1743.36,z=35.10},
  358. {x=957.73,y=-1700.31,z=28.91},
  359. },
  360. {
  361. {x=2214.84,y=3012.19,z=45.28},
  362. {x=306.91,y=2646.27,z=44.49},
  363. {x=-2098.31,y=2307.57,z=37.63},
  364. {x=-1918.28,y=2030.95,z=140.74},
  365. },
  366. {
  367. {x=2206.88,y=3703.46,z=37.27},
  368. {x=2478.80,y=4538.05,z=34.92},
  369. {x=1315.30,y=4370.30,z=41.31},
  370. },
  371. {
  372. {x=2075.02,y=2662.02,z=51.75},
  373. {x=1676.82,y=1383.82,z=86.90},
  374. {x=531.70,y=-331.90,z=43.59},
  375. {x=792.48,y=-1407.34,z=27.27},
  376. {x=723.74,y=-3008.36,z=9.04},
  377. {x=1246.56,y=-3295.19,z=5.80},
  378. },
  379. {
  380. {x=1345.42,y=2687.87,z=37.72},
  381. {x=-279.09,y=2895.49,z=45.72},
  382. {x=-1647.67,y=2432.59,z=26.94},
  383. {x=-3030.55,y=1898.42,z=28.94},
  384. {x=-3090.35,y=1343.61,z=20.24},
  385. {x=-3253.02,y=987.42,z=12.45},
  386. },
  387. {
  388. {x=2399.57,y=3207.00,z=47.38},
  389. {x=1835.99,y=3299.74,z=43.23},
  390. {x=740.38,y=3522.62,z=34.17},
  391. {x=-209.57,y=3820.32,z=38.43},
  392. {x=154.36,y=4418.37,z=75.78},
  393. {x=-596.89,y=5003.18,z=143.15},
  394. {x=-733.50,y=5197.59,z=104.48},
  395. {x=-665.49,y=5242.93,z=76.79},
  396. {x=-569.17,y=5256.91,z=70.47},
  397. },
  398. {
  399. {x=1860.53,y=2385.28,z=54.19},
  400. {x=2486.95,y=815.16,z=94.65},
  401. {x=2194.31,y=-765.68,z=68.91},
  402. {x=1762.63,y=-1396.51,z=111.45},
  403. {x=1719.89,y=-1731.48,z=112.49},
  404. {x=1708.63,y=-1661.63,z=112.47},
  405. },
  406. {
  407. {x=1312.30,y=2684.89,z=37.68},
  408. {x=207.59,y=2630.89,z=47.62},
  409. {x=-17.15,y=2083.15,z=156.77},
  410. {x=309.99,y=1033.93,z=210.64},
  411. {x=783.19,y=1280.57,z=360.30},
  412. },
  413. {
  414. {x=2936.34,y=3776.81,z=52.67},
  415. {x=2464.73,y=5665.03,z=45.07},
  416. {x=313.50,y=6580.69,z=29.32},
  417. {x=-747.31,y=5517.95,z=35.82},
  418. {x=-668.64,y=5789.26,z=17.33},
  419. },
  420. {
  421. {x=2123.25,y=3007.55,z=45.19},
  422. {x=324.35,y=2649.62,z=44.61},
  423. {x=285.73,y=2862.10,z=43.64},
  424. },
  425. {
  426. {x=2841.46,y=3476.25,z=54.96},
  427. {x=2817.63,y=4391.41,z=49.34},
  428. {x=3073.51,y=3988.65,z=73.33},
  429. {x=3416.44,y=3748.30,z=30.58},
  430. {x=3489.44,y=3685.10,z=33.88},
  431. },
  432. {
  433. {x=2921.07,y=3718.57,z=52.65},
  434. {x=2816.09,y=4396.78,z=49.25},
  435. {x=2805.72,y=4907.24,z=36.18},
  436. {x=3036.60,y=5036.28,z=26.06},
  437. {x=3299.06,y=5155.78,z=18.42},
  438. },
  439. {
  440. {x=2389.84,y=2964.42,z=49.07},
  441. {x=2601.79,y=2512.40,z=29.50},
  442. {x=2360.07,y=1181.94,z=60.26},
  443. {x=2427.97,y=687.55,z=132.37},
  444. {x=2209.41,y=132.37,z=226.91},
  445. {x=1789.67,y=-79.06,z=190.28},
  446. {x=1671.33,y=-64.13,z=173.78},
  447. },
  448. {
  449. {x=2140.68,y=3009.61,z=45.25},
  450. {x=328.21,y=2650.84,z=44.66},
  451. {x=-127.61,y=1923.99,z=197.31},
  452. },
  453. {
  454. {x=2448.89,y=2962.04,z=40.71},
  455. {x=2178.37,y=1262.16,z=75.97},
  456. {x=2552.21,y=419.51,z=108.46},
  457. },
  458. {
  459. {x=2353.74,y=3218.36,z=46.87},
  460. {x=1576.09,y=3104.95,z=40.89},
  461. {x=1124.75,y=2878.73,z=39.17},
  462. {x=1414.61,y=2312.61,z=74.69},
  463. {x=1263.59,y=1905.17,z=78.77},
  464. }
  465. }
  466. },
  467.  
  468. ['threePlayer'] = {
  469. moneyMin = 10000,
  470. moneyMax = 20000,
  471. ['trucks'] = {
  472. 'phantom',
  473. 'packer'
  474. },
  475.  
  476. ['routes'] = {
  477. {
  478. {x=2669.62,y=3449.12,z=55.12},
  479. {x=1857.72,y=3211.85,z=44.55},
  480. {x=1191.09,y=2976.45,z=39.87},
  481. {x=491.32,y=3078.45,z=39.80},
  482. {x=-98.00,y=2982.72,z=36.58},
  483. {x=-724.25,y=2965.96,z=24.51},
  484. {x=-1627.90,y=2998.55,z=31.07},
  485. },
  486. {
  487. {x=2805.05,y=3396.02,z=55.30},
  488. {x=2780.65,y=4518.41,z=46.10},
  489. {x=2444.27,y=5691.90,z=44.53},
  490. {x=1424.14,y=6470.69,z=19.86},
  491. {x=458.43,y=6571.81,z=26.35},
  492. {x=148.27,y=6352.75,z=30.77},
  493. },
  494. {
  495. {x=1059.96,y=2686.37,z=39.14},
  496. {x=-168.39,y=1890.20,z=198.23},
  497. {x=-731.87,y=1149.50,z=262.64},
  498. {x=-385.25,y=1219.92,z=325.64},
  499. },
  500. {
  501. {x=2097.92,y=1381.84,z=75.56},
  502. {x=2359.29,y=-312.11,z=85.18},
  503. {x=1265.21,y=-1125.39,z=50.50},
  504. {x=1092.02,y=-1178.75,z=45.61},
  505. {x=1064.85,y=-1743.36,z=35.10},
  506. {x=957.73,y=-1700.31,z=28.91},
  507. },
  508. {
  509. {x=2214.84,y=3012.19,z=45.28},
  510. {x=306.91,y=2646.27,z=44.49},
  511. {x=-2098.31,y=2307.57,z=37.63},
  512. {x=-1918.28,y=2030.95,z=140.74},
  513. },
  514. {
  515. {x=2206.88,y=3703.46,z=37.27},
  516. {x=2478.80,y=4538.05,z=34.92},
  517. {x=1315.30,y=4370.30,z=41.31},
  518. },
  519. {
  520. {x=2075.02,y=2662.02,z=51.75},
  521. {x=1676.82,y=1383.82,z=86.90},
  522. {x=531.70,y=-331.90,z=43.59},
  523. {x=792.48,y=-1407.34,z=27.27},
  524. {x=723.74,y=-3008.36,z=9.04},
  525. {x=1246.56,y=-3295.19,z=5.80},
  526. },
  527. {
  528. {x=1345.42,y=2687.87,z=37.72},
  529. {x=-279.09,y=2895.49,z=45.72},
  530. {x=-1647.67,y=2432.59,z=26.94},
  531. {x=-3030.55,y=1898.42,z=28.94},
  532. {x=-3090.35,y=1343.61,z=20.24},
  533. {x=-3253.02,y=987.42,z=12.45},
  534. },
  535. {
  536. {x=2399.57,y=3207.00,z=47.38},
  537. {x=1835.99,y=3299.74,z=43.23},
  538. {x=740.38,y=3522.62,z=34.17},
  539. {x=-209.57,y=3820.32,z=38.43},
  540. {x=154.36,y=4418.37,z=75.78},
  541. {x=-596.89,y=5003.18,z=143.15},
  542. {x=-733.50,y=5197.59,z=104.48},
  543. {x=-665.49,y=5242.93,z=76.79},
  544. {x=-569.17,y=5256.91,z=70.47},
  545. },
  546. {
  547. {x=1860.53,y=2385.28,z=54.19},
  548. {x=2486.95,y=815.16,z=94.65},
  549. {x=2194.31,y=-765.68,z=68.91},
  550. {x=1762.63,y=-1396.51,z=111.45},
  551. {x=1719.89,y=-1731.48,z=112.49},
  552. {x=1708.63,y=-1661.63,z=112.47},
  553. },
  554. {
  555. {x=1312.30,y=2684.89,z=37.68},
  556. {x=207.59,y=2630.89,z=47.62},
  557. {x=-17.15,y=2083.15,z=156.77},
  558. {x=309.99,y=1033.93,z=210.64},
  559. {x=783.19,y=1280.57,z=360.30},
  560. },
  561. {
  562. {x=2936.34,y=3776.81,z=52.67},
  563. {x=2464.73,y=5665.03,z=45.07},
  564. {x=313.50,y=6580.69,z=29.32},
  565. {x=-747.31,y=5517.95,z=35.82},
  566. {x=-668.64,y=5789.26,z=17.33},
  567. },
  568. {
  569. {x=2123.25,y=3007.55,z=45.19},
  570. {x=324.35,y=2649.62,z=44.61},
  571. {x=285.73,y=2862.10,z=43.64},
  572. },
  573. {
  574. {x=2841.46,y=3476.25,z=54.96},
  575. {x=2817.63,y=4391.41,z=49.34},
  576. {x=3073.51,y=3988.65,z=73.33},
  577. {x=3416.44,y=3748.30,z=30.58},
  578. {x=3489.44,y=3685.10,z=33.88},
  579. },
  580. {
  581. {x=2921.07,y=3718.57,z=52.65},
  582. {x=2816.09,y=4396.78,z=49.25},
  583. {x=2805.72,y=4907.24,z=36.18},
  584. {x=3036.60,y=5036.28,z=26.06},
  585. {x=3299.06,y=5155.78,z=18.42},
  586. },
  587. {
  588. {x=2389.84,y=2964.42,z=49.07},
  589. {x=2601.79,y=2512.40,z=29.50},
  590. {x=2360.07,y=1181.94,z=60.26},
  591. {x=2427.97,y=687.55,z=132.37},
  592. {x=2209.41,y=132.37,z=226.91},
  593. {x=1789.67,y=-79.06,z=190.28},
  594. {x=1671.33,y=-64.13,z=173.78},
  595. },
  596. {
  597. {x=2140.68,y=3009.61,z=45.25},
  598. {x=328.21,y=2650.84,z=44.66},
  599. {x=-127.61,y=1923.99,z=197.31},
  600. },
  601. {
  602. {x=2448.89,y=2962.04,z=40.71},
  603. {x=2178.37,y=1262.16,z=75.97},
  604. {x=2552.21,y=419.51,z=108.46},
  605. },
  606. {
  607. {x=2353.74,y=3218.36,z=46.87},
  608. {x=1576.09,y=3104.95,z=40.89},
  609. {x=1124.75,y=2878.73,z=39.17},
  610. {x=1414.61,y=2312.61,z=74.69},
  611. {x=1263.59,y=1905.17,z=78.77},
  612. }
  613. }
  614. }
  615. }
  616.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement