Advertisement
oosayeroo

SAYER-JOBDELIVERY

Apr 25th, 2023 (edited)
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.85 KB | Gaming | 0 0
  1. Config = {}
  2. Config.DebugCode = false
  3. Config.Phone = 'qs' --'qb'/'qs'/'gk' editable in the unlocked client file
  4. Config.MaxDeliveryItems = 3 -- the max number of different items to deliver at once
  5. Config.MaxDeliveries = 5 --the most amount of deliveries before having to go back and take job again
  6. Config.PayDeliveryGuy = 0.20 -- in % (0.20 = 20%) -- to pay guy that delivers the stuff
  7. Config.Notify = 'qb' -- 'qb'/'okok'/'qs' supported ' editable in unlocked client file'
  8.  
  9. Config.EnableVoiceRecognise = true --WIP but useable / uses 17mov's Speech Recognition script. turn put false if not using - found here https://store.17movement.net/package/5673280
  10. Config.DeliveryPhrases = { --words you need to say when at the customers door to enable the delivery
  11. "delivery",
  12. "got your delivery",
  13. "come collect your delivery",
  14. "package",
  15. "package for you",
  16. }
  17.  
  18. Config.Locations = { --add as many locations as you like
  19. {
  20. Enable = true,
  21. DebugPoly = false,
  22. JobCode = 'mechanic',
  23. MenuType = 'zone', --boxzone
  24. MenuLocation = { --location to open delivery menu
  25. {
  26. Coords = vector3(-343.88, -140.86, 39.01),
  27. Emote = "mechanic",
  28. SpeechRecognise = false,
  29. },
  30. },
  31. DeliveryItems = { --change these to fit your server
  32. {ItemCode = 'engine1', Amount = 1, Price = 240},
  33. {ItemCode = 'transmission1', Amount = math.random(1,3), Price = 340}, --if Amount is math.random then the item in your Shared/Items must be set to Unique=false (makes them stackable)
  34. {ItemCode = 'brakes1', Amount = math.random(1,3), Price = 980},
  35. {ItemCode = 'suspension1', Amount = math.random(1,3), Price = 20},
  36. {ItemCode = 'turbo', Amount = math.random(1,2), Price = 610},
  37. {ItemCode = 'spoiler', Amount = 1, Price = 430},
  38. {ItemCode = 'rollcage', Amount = 1, Price = 100},
  39. },
  40. },
  41. {
  42. Enable = true,
  43. DebugPoly = false,
  44. JobCode = 'burgershot',
  45. MenuType = 'ped', --ped spawns (if this is ped then you must define the Model in each MenuLocation)
  46. MenuLocation = { --location to open delivery menu
  47. -- { --example of how to use the voice recognition
  48. -- Model = 'u_m_y_burgerdrug_01',
  49. -- Coords = vector4(-1186.93, -875.44, 13.78, 70.94),
  50. -- Emote = "idle3",
  51. -- SpeechRecognise = {
  52. -- {Phrase = {"hey delivery guy","give delivery"},BlockInVehicle = true,AllowRecognitionInReverse = true},
  53. -- },
  54. -- },
  55. {
  56. Model = 'u_m_y_burgerdrug_01',
  57. Coords = vector4(-1186.93, -875.44, 13.78, 70.94),
  58. Emote = "idle3",
  59. SpeechRecognise = false,
  60. },
  61. },
  62. DeliveryItems = {
  63. {ItemCode = 'heartstopper', Amount = math.random(2,4), Price = 100},
  64. {ItemCode = 'moneyshot', Amount = 2, Price = 100},
  65. {ItemCode = 'torpedo', Amount = math.random(1,4), Price = 100},
  66. {ItemCode = 'chicken_wrap', Amount = math.random(1,4), Price = 100},
  67. },
  68. },
  69. }
  70.  
  71. Config.DeliveryLocations = {
  72. --mirror park
  73. {Coords = vector3(996.89, -729.57, 57.82), Label = "Mirror Park",},
  74. {Coords = vector3(886.75, -608.18, 58.45), Label = "Mirror Park",},
  75. {Coords = vector3(987.37, -433.07, 64.05), Label = "Mirror Park",},
  76. {Coords = vector3(1265.74, -458.04, 70.52), Label = "Mirror Park",},
  77. {Coords = vector3(1265.77, -648.59, 68.12), Label = "Mirror Park",},
  78. --east LS
  79. {Coords = vector3(1193.62, -1656.51, 43.03), Label = "Fudge Lane",},
  80. {Coords = vector3(1230.57, -1590.88, 53.77), Label = "Fudge Lane",},
  81. {Coords = vector3(1259.38, -1761.87, 49.66), Label = "Amarillo Vista",},
  82. {Coords = vector3(1312.29, -1697.32, 58.23), Label = "Amarillo Vista",},
  83. --southside LS
  84. {Coords = vector3(489.6, -1714.04, 29.71), Label = "Jamestown St",},
  85. {Coords = vector3(495.43, -1823.42, 28.87), Label = "Jamestown St",},
  86. {Coords = vector3(368.62, -1895.68, 25.18), Label = "Jamestown St",},
  87. {Coords = vector3(76.29, -1948.18, 21.17), Label = "Grove St",},
  88. {Coords = vector3(46.11, -1864.32, 23.28), Label = "Grove St",},
  89. {Coords = vector3(-20.47, -1858.84, 25.41), Label = "Grove St",},
  90. {Coords = vector3(-64.49, -1449.57, 32.52), Label = "Forum Dr",},
  91. {Coords = vector3(16.6, -1443.79, 30.95), Label = "Forum Dr",},
  92. {Coords = vector3(240.75, -1687.73, 29.7), Label = "Brouge Ave",},
  93. {Coords = vector3(250.03, -1730.87, 29.67), Label = "Brouge Ave",},
  94. {Coords = vector3(216.48, -1717.33, 29.68), Label = "Brouge Ave",},
  95. {Coords = vector3(443.4, -1707.26, 29.71), Label = "R Lowenstein Blvd",},
  96. {Coords = vector3(419.11, -1735.52, 29.61), Label = "R Lowenstein Blvd",},
  97. {Coords = vector3(320.64, -1759.8, 29.64), Label = "R Lowenstein Blvd",},
  98. --west side LS
  99. {Coords = vector3(-1057.73, -1540.7, 5.05), Label = "Melanoma St",},
  100. {Coords = vector3(-1114.79, -1577.69, 4.54), Label = "Melanoma St",},
  101. {Coords = vector3(-1129.99, -1496.7, 4.43), Label = "Goma St",},
  102. {Coords = vector3(-1063.6, -1160.36, 2.75), Label = "Invention Ct",},
  103. --vinewood/rockford
  104. {Coords = vector3(-842.22, -25.1, 40.4), Label = "Portola Dr",},
  105. {Coords = vector3(-930.31, 19.48, 48.53), Label = "Caesars Pl",},
  106. {Coords = vector3(-998.18, 158.21, 62.32), Label = "Steele Way",},
  107. {Coords = vector3(-913.04, 108.23, 55.71), Label = "Steele Way",},
  108. {Coords = vector3(-881.33, 363.79, 85.36), Label = "Sth Milton Dr",},
  109. {Coords = vector3(-884.57, 518.04, 92.44), Label = "Sth Milton Dr",},
  110. {Coords = vector3(-947.92, 567.74, 101.51), Label = "Sth Milton Dr",},
  111. {Coords = vector3(-1308.14, 449.0, 100.97), Label = "Mad Wayne Thunder Dr",},
  112. {Coords = vector3(-1215.84, 457.88, 92.06), Label = "Mad Wayne Thunder Dr",},
  113. {Coords = vector3(-1052.21, 432.54, 77.26), Label = "Mad Wayne Thunder Dr",},
  114. {Coords = vector3(-1291.88, 650.51, 141.5), Label = "North Sheldon Ave",},
  115. {Coords = vector3(-1218.53, 665.22, 144.53), Label = "North Sheldon Ave",},
  116. {Coords = vector3(-1117.8, 761.45, 164.29), Label = "North Sheldon Ave",},
  117. {Coords = vector3(-596.79, 851.48, 211.48), Label = "Milton Rd",},
  118. {Coords = vector3(-495.63, 738.56, 163.03), Label = "Milton Rd",},
  119. {Coords = vector3(-446.16, 686.33, 153.12), Label = "Kimble Hill Dr",},
  120. {Coords = vector3(-232.3, 588.2, 190.54), Label = "Kimble Hill Dr",},
  121. {Coords = vector3(85.01, 561.71, 182.77), Label = "Whispymound Dr",},
  122. {Coords = vector3(224.04, 513.43, 140.92), Label = "Wild Oats Dr",},
  123. {Coords = vector3(79.83, 486.17, 148.2), Label = "Wild Oats Dr",},
  124. {Coords = vector3(-7.91, 467.87, 145.85), Label = "Wild Oats Dr",},
  125. }
Tags: qbcore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement