Advertisement
marcinhuUu

m-GarbageJob

May 21st, 2022
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.Utility = {
  4. Framework = "QBCore", -- QBCore
  5. CoreName = "qb-core", -- CoreName
  6. AddItem = "QBCore:Server:AddItem",
  7. ItemBox = "inventory:client:ItemBox",
  8. QBTarget = "qb-target",
  9. PropObject = "hei_prop_heist_binbag",
  10. Trash = {
  11. EnableOpen = true, -- Enable open trash bags?
  12. ChanceNotReceive = 10, -- If the number from 1 to 100 is between 1 and 10, player get nothing.
  13. ChanceToRare = 90, -- If the number from 1 to 100 is between 90 and 100, player get the rare drop.
  14. PossibleDrops = {
  15. NormalDrops = {
  16. [1] = "metalscrap",
  17. [2] = "sandwich",
  18. [3] = "iron",
  19. [4] = "electronickit",
  20. [5] = "thermite",
  21. -- You can add more
  22. },
  23. RareDrops = {
  24. [1] = "lockpick",
  25. [2] = "advancedlockpick",
  26. -- You can add more
  27. }
  28. }
  29. },
  30. SpawnVehicle = {x = -319.69, y = -1524.52, z = 27.55, h = 266.41}, -- Location to spawn vehicle
  31. VehicleKeys = "vehiclekeys:client:SetOwner", -- Trigger to give keys of vehicle
  32. Vehicle = "trash", -- Vehile spawn
  33. Ped = {{type = 4, hash= GetHashKey("s_m_y_garbage"), x = -336.80, y = -1530.44, z = 26.72, h = 292.97}},
  34. CoordsStart = vector3(-336.80, -1530.44, 26.72),
  35. Reward = { -- Cash reward for each trash
  36. Min = 20,
  37. Max = 40,
  38. },
  39. LevelSystem = {
  40. Enable = true, -- Enable level system?
  41. XP_Per_Trip = 10, -- Xp obtain each trash
  42. Level_1 = {
  43. XP = 0, -- XP Needed to level 1 -- Dont touch
  44. Reward = 1, -- 1 = x1 the money you will receive.
  45. },
  46. Level_2 = {
  47. XP = 425, -- XP Needed to level 2
  48. Reward = 2, -- 2 = x2 the money you will receive.
  49. },
  50. Level_3 = {
  51. XP = 550, -- XP Needed to level 3
  52. Reward = 3, -- 3 = x3 the money you will receive.
  53. },
  54. Level_4 = {
  55. XP = 750, -- XP Needed to level 4
  56. Reward = 4, -- 4 = x4 the money you will receive.
  57. },
  58. Level_5 = {
  59. XP = 1000, -- XP Needed to level 5
  60. Reward = 5, -- 5 = x5 the money you will receive.
  61. },
  62. },
  63. Blip = {
  64. Location = vector3(-355.46, -1541.31, 27.72),
  65. Sprite = 467,
  66. Display = 4,
  67. Scale = 0.7,
  68. Name = "Garbage",
  69. },
  70. BlipDelivery = {
  71. Sprite = 11,
  72. Colour = 2,
  73. RouteColour = 29,
  74. },
  75. Logs = {
  76. Enable = true,
  77. Trigger = "qb-log:server:CreateLog",
  78. LogTitle = "Garbage",
  79. LogColour = "lightgreen",
  80. }
  81. }
  82.  
  83. Language = {
  84. SpawnBlock = "There is a vehicle in way",
  85. OneTruck = "You already taken a truck for the job",
  86. Got = "You got: $",
  87. Vasculhar = "Picking it up in the trash...",
  88. Talk = "Talk",
  89. Search = "Search",
  90. GarbageDepot = "[🕋] Garbage Depot",
  91. StartWork = "[💨] Start Work",
  92. ReturnVehicle = "[🚗] Return Vehicle",
  93. SellTrash = "[💵] Sell Trash",
  94. CheckLevel = "Check Experience",
  95. Close = "[❌] Close",
  96. ReturnDepot = "Return to base and start another job!",
  97. BlipWork = "Trash",
  98. Searching = "Searching the trash bag...",
  99. Smell = "What a smell! I got all my hands dirty!",
  100. Anything = "You don't have trash with you.",
  101. AlreadySearch = "You already search that.",
  102. YourExperience = "Your Experience: ",
  103. InsideVehicle = "You need to be inside the vehicle.",
  104. NoWork = "You didn't start the work.",
  105. NoBugs = "Don't abuse bugs :)",
  106. Dead = "You cannot access while dead.",
  107. Water = "You cannot access in the water.",
  108. }
  109.  
  110. Config["Lixos"] = {
  111. vector3(-242.77, -1473.18, 31.48),
  112. vector3(-161.53, -1669.83, 33.17),
  113. vector3(-208.85, -1361.46, 31.26),
  114. vector3(23.43, -1313.14, 29.52),
  115. vector3(91.0, -1284.49, 29.3),
  116. vector3(373.84, -1449.1, 29.43),
  117. vector3(490.48, -998.56, 27.78),
  118. vector3(497.29, -587.54, 24.76),
  119. vector3(319.76, -182.96, 57.45),
  120. vector3(-175.89, -1284.3, 31.3),
  121. vector3(-563.73, -974.34, 22.18),
  122. vector3(105.7, -1811.95, 26.52),
  123. vector3(242.31, -1771.48, 28.77),
  124. vector3(230.43, -1507.73, 29.29)
  125. }
  126.  
  127. function Notify(msg)
  128. QBCore.Functions.Notify(msg)
  129. end
  130.  
  131.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement