Advertisement
marcinhuUu

m-ChopChop

May 24th, 2022
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. Config = {}
  2.  
  3. --------------------------
  4. -- Utility
  5. --------------------------
  6. Config.InvLink = "qs-inventory/html/images/"
  7. Config.Utility = {
  8. Framework = "NEW", -- QBCore
  9. CoreName = "qb-core", -- Core Name
  10. ItemBox = "inventory:client:ItemBox", -- Don't touch
  11. AddItem = "QBCore:Server:AddItem",
  12. Phone = "qb-phone", -- qb-phone or gksphone
  13. SendEmail = "qb-phone:server:sendNewMail", -- or "gksphone:NewMail"
  14. Target = "qb-target", -- Name of your target
  15. EnableCallCops = true, -- Enable call cops?
  16. ChanceCallCops = 50, -- % To call cops
  17. EnableDelete = false, -- If true, the script check if the plate has a owner, if has owner, he delete from database the vehicle.
  18. Cooldown = 900000, -- Time to chopchop again. (15 Minutes)
  19. NeedJob = false, -- Need Job?
  20. JobName = "", -- Job Name if you use NeedJob true
  21. Peds = {
  22. {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = -557.27, y = -1701.59, z = 18.10, h = 296.93}, -- Los Santos
  23. {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = 1409.27, y = 3669.44, z = 33.02, h = 104.73}, -- Sandy Shores
  24. {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = -193.15, y = 6267.17, z = 30.49, h = 39.06}, -- Paleto Bay
  25. {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = 1289.67, y = 3630.65, z = 32.19, h = 112.99}, -- Ped to Sell Items
  26. },
  27. Locations = {
  28. [1] = vector3(-557.27,-1701.59,18.10), -- Los Santos
  29. [2] = vector3(1409.27,3669.44,33.02), -- Sandy Shores
  30. [3] = vector3(-193.15,6267.17,30.49), -- Paleto Bay
  31. },
  32. Blips = {
  33. Enable = true, -- Enable blips?
  34. Sprite = 441,
  35. Scale = 0.8,
  36. Colour = 35,
  37. Name = "ChopChop", -- Name of the blip
  38. },
  39. Rewards = {
  40. Blip = {
  41. Location = {
  42. [1] = vector3(1289.67, 3630.65, 33.19),
  43. },
  44. Sprite = 11,
  45. Colour = 3,
  46. RouteColour = 3,
  47. Name = "Location",
  48. },
  49. Amount = math.random(2,4),
  50. Items = {
  51. [1] = "aluminum",
  52. [2] = "steel",
  53. [3] = "copper",
  54. [4] = "metalscrap",
  55. [5] = "rubber",
  56. },
  57. },
  58. }
  59.  
  60. Language = {
  61. Cooldown = "There is currently a cooldown for you, You must wait longer before doing this again.",
  62. Inside = "You need to be inside the vehicle.",
  63. CantDismant = "This vehicle cannot be dismantled",
  64. DriverDoor = "Removing the driver's door...",
  65. PassengerDoor = "Removing the passenger's door...",
  66. RearDriverDoor = "Removing the rear driver's door...",
  67. RearPassengerDoor = "Removing the rear passenger's door...",
  68. RemoveHood = "Removing the hood...",
  69. RemoveTrunk = "Removing the trunk...",
  70. WrongJob = "You have the wrong job.",
  71. NothingToSell = "You have nothing to sell.",
  72. ChopChop = "Chop Chop Vehicle",
  73. SellItems = "Sell Items",
  74. EmailAuthor = "Mr. John",
  75. EmailSubject = "Chop Chop",
  76. EmailMessage = "Thanks for the vehicle. I'll send an attach coordinates through the GPS.",
  77. MenuHeader = "Sell Chop Chop Items",
  78. MenuSubHeader = "You can win valuable items!",
  79. SellDriverDoor = "Sell Driver's Door",
  80. SellPassengerDoor = "Sell Passenger's Door",
  81. SellRearDriverDoor = "Sell Rear Driver's Door",
  82. SellRearPassengerDoor = "Sell Rear Passenger's Door",
  83. SellHood = "Sell Hood",
  84. SellTrunk = "Sell Trunk",
  85. Close = "❌ Close",
  86. }
  87.  
  88.  
  89. function Notify(msg)
  90. QBCore.Functions.Notify(msg)
  91. end
  92.  
  93. function progressBar(msg)
  94. QBCore.Functions.Progressbar("progressBar", msg, 5000, false, true, {disableMovement = true,disableCarMovement = true,disableMouse = false,
  95. disableCombat = true}, {}, {}, {}, function() end)
  96. end
  97.  
  98. function PoliceCall()
  99. -- Trigger your dispach
  100. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement