Advertisement
marcinhuUu

m-GoldRush

May 29th, 2022
1,032
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. Config = {}
  2.  
  3. --------------------------
  4. -- Utility
  5. --------------------------
  6. Config.InvLink = "qs-inventory/html/images/"
  7. Config.Utility = {
  8. Framework = "NEW", -- "NEW" - New QBCore | "OLD" - Old QBCore
  9. CoreName = "qb-core", -- Your core name
  10. InventoryTrigger = "inventory:client:ItemBox",
  11. AddItem = "QBCore:Server:AddItem",
  12. Target = "qb-target",
  13. RemoveItem = "QBCore:Server:RemoveItem",
  14. OpenInvTrigger = "inventory:server:OpenInventory",
  15. Peds = {
  16. {type = 4, hash= GetHashKey("ig_floyd"), x = 287.68, y = 2843.82, z = 43.70, h = 120.48},
  17. {type = 4, hash= GetHashKey("ig_floyd"), x = -622.15, y = -232.19, z = 37.06, h = 130.31}
  18. },
  19. Blip = {
  20. Main = {
  21. Enable = true,
  22. Zone = vector3(286.6, 2843.83, 44.7),
  23. Sprite = 467,
  24. Display = 4,
  25. Colour = 25,
  26. Scale = 0.7,
  27. Name = "Gold Rush",
  28. },
  29. Sell = {
  30. Enable = true,
  31. Zone = vector3(-622.09, -232.18, 38.06),
  32. Sprite = 467,
  33. Display = 4,
  34. Colour = 25,
  35. Scale = 0.7,
  36. Name = "Sell Gold",
  37. },
  38. CollectGravel = {
  39. Enable = true,
  40. Zone = vector3(-182.28, 3039.09, 19.28),
  41. Sprite = 467,
  42. Display = 4,
  43. Colour = 25,
  44. Scale = 0.7,
  45. Name = "Collect Gravel",
  46. },
  47. SeparateGravel = {
  48. Enable = true,
  49. Zone = vector3(1077.16, -1984.45, 31.01),
  50. Sprite = 467,
  51. Display = 4,
  52. Colour = 21,
  53. Scale = 0.7,
  54. Name = "Separate Gravel",
  55. },
  56. },
  57. Locations = {
  58. Main = { -- This is for qb-targer location
  59. Zone = vector3(287.61, 2843.81, 44.7),
  60. Lenght = 0.6,
  61. Width = 0.6,
  62. Heading = 300,
  63. MinZ = 41.7,
  64. MaxZ = 45.7,
  65. Distance = 2.0,
  66. },
  67. Sell = { -- This is for qb-targer location
  68. Zone = vector3(-622.09, -232.18, 38.06),
  69. Lenght = 0.6,
  70. Width = 1.0,
  71. Heading = 306,
  72. MinZ = 35.06,
  73. MaxZ = 39.06,
  74. Distance = 2.0,
  75. },
  76. CollectGravel = { -- This is for qb-targer location
  77. Zone = vector3(-193.88, 3028.41, 19.32),
  78. Lenght = 72,
  79. Width = 5,
  80. Heading = 139,
  81. MinZ = 16.32,
  82. MaxZ = 20.32,
  83. Distance = 2.0,
  84. },
  85. SeparateGravel = {
  86. Zone = vector3(1076.34, -1983.81, 31.01),
  87. Lenght = 3.4,
  88. Width = 1.0,
  89. Heading = 329,
  90. MinZ = 27.61,
  91. MaxZ = 31.61,
  92. Distance = 2.0,
  93. },
  94. BurnGold = {
  95. Zone = vector3(1111.42, -2009.16, 31.04),
  96. Lenght = 4.0,
  97. Width = 3.0,
  98. Heading = 325,
  99. MinZ = 28.84,
  100. MaxZ = 32.84,
  101. Distance = 2.0,
  102. },
  103. MakeItems = {
  104. Zone = vector3(1072.57, -1987.86, 30.91),
  105. Lenght = 3.2,
  106. Width = 1.0,
  107. Heading = 325,
  108. MinZ = 27.31,
  109. MaxZ = 31.31,
  110. Distance = 2.0,
  111. },
  112. DeleteVehicle = { -- This is for qb-targer location
  113. Zone = vector3(277.64, 2840.01, 43.53),
  114. Lenght = 16.0,
  115. Width = 5.0,
  116. Heading = 30,
  117. MinZ = 41.33,
  118. MaxZ = 45.33,
  119. Distance = 5.0,
  120. }
  121. },
  122. SpawnCar = {
  123. Fuel = "moon-Gasolina", -- Your trigger fuel
  124. VehicleKeysTrigger = "vehiclekeys:client:SetOwner",
  125. Car = "biff",
  126. Locations = {
  127. [1] = {x = 279.27, y = 2837.19, z = 43.57, h = 31.67},
  128. }
  129. },
  130. Rewards = {
  131. CollectGravel = {
  132. Min = 2,
  133. Max = 4,
  134. },
  135. SeparateGravel = {
  136. Drops = {
  137. [1] = "1ql_pieceofgold",
  138. [2] = "10ql_pieceofgold",
  139. [3] = "12ql_pieceofgold",
  140. [4] = "14ql_pieceofgold",
  141. [5] = "16ql_pieceofgold",
  142. },
  143. Min = 2,
  144. Max = 4,
  145. },
  146. BurnGold = {
  147. Drops = {
  148. [1] = "m_gold", -- Drops after burning the piece of gold
  149. },
  150. Min = 2, -- Min. Amount of drops after burning
  151. Max = 4, -- Max. Amount of drops after burning
  152. },
  153. },
  154. Accessories = {
  155. Ring = { -- Gold Ring
  156. AmountOfGold = 1, -- Amount of gold necessary to make 1 ring
  157. AmountOfRing = 1, -- Amount of ring received with 1 gold
  158. },
  159. Chain = { -- Gold Chain
  160. AmountOfGold = 1, -- Amount of gold necessary to make 1 chain
  161. AmountOfChain = 1, -- Amount of chain received with 1 gold
  162. },
  163. Bracelet = { -- Gold Bracelet
  164. AmountOfGold = 1, -- Amount of gold necessary to make 1 bracelet
  165. AmountOfBracelet = 1, -- Amount of bracelet received with 1 gold
  166. },
  167. },
  168. Sell = {
  169. Gold = { -- Price of each gold
  170. Value = {
  171. Min = 5,
  172. Max = 8,
  173. }
  174. },
  175. Ring = { -- Price of each gold ring
  176. Value = {
  177. Min = 5,
  178. Max = 8,
  179. }
  180. },
  181. Chain = { -- Price of each gold chain
  182. Value = {
  183. Min = 5,
  184. Max = 8,
  185. }
  186. },
  187. Bracelet = { -- Price of each gold bracelet
  188. Value = {
  189. Min = 5,
  190. Max = 8,
  191. }
  192. },
  193. }
  194. }
  195.  
  196. --------------------------
  197. -- Shop
  198. --------------------------
  199. Config.Items = {
  200. [1] = {
  201. name = "water_bottle",
  202. price = 0,
  203. amount = 10,
  204. info = {},
  205. type = "item",
  206. slot = 1,
  207. },
  208. [2] = {
  209. name = "weapon_bread",
  210. price = 0,
  211. amount = 10,
  212. info = {},
  213. type = "item",
  214. slot = 2,
  215. },
  216. [2] = {
  217. name = "m_goldpan",
  218. price = 0,
  219. amount = 10,
  220. info = {},
  221. type = "item",
  222. slot = 2,
  223. },
  224. }
  225.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement