Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- --------------------------
- -- Utility
- --------------------------
- Config.InvLink = "qs-inventory/html/images/"
- Config.Utility = {
- Framework = "NEW", -- QBCore
- CoreName = "qb-core", -- Core Name
- ItemBox = "inventory:client:ItemBox", -- Don't touch
- AddItem = "QBCore:Server:AddItem",
- Phone = "qb-phone", -- qb-phone or gksphone
- SendEmail = "qb-phone:server:sendNewMail", -- or "gksphone:NewMail"
- Target = "qb-target", -- Name of your target
- EnableCallCops = true, -- Enable call cops?
- ChanceCallCops = 50, -- % To call cops
- EnableDelete = false, -- If true, the script check if the plate has a owner, if has owner, he delete from database the vehicle.
- Cooldown = 900000, -- Time to chopchop again. (15 Minutes)
- NeedJob = false, -- Need Job?
- JobName = "", -- Job Name if you use NeedJob true
- Peds = {
- {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = -557.27, y = -1701.59, z = 18.10, h = 296.93}, -- Los Santos
- {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = 1409.27, y = 3669.44, z = 33.02, h = 104.73}, -- Sandy Shores
- {type = 4, hash = GetHashKey("s_m_m_gaffer_01"), x = -193.15, y = 6267.17, z = 30.49, h = 39.06}, -- Paleto Bay
- {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
- },
- Locations = {
- [1] = vector3(-557.27,-1701.59,18.10), -- Los Santos
- [2] = vector3(1409.27,3669.44,33.02), -- Sandy Shores
- [3] = vector3(-193.15,6267.17,30.49), -- Paleto Bay
- },
- Blips = {
- Enable = true, -- Enable blips?
- Sprite = 441,
- Scale = 0.8,
- Colour = 35,
- Name = "ChopChop", -- Name of the blip
- },
- Rewards = {
- Blip = {
- Location = {
- [1] = vector3(1289.67, 3630.65, 33.19),
- },
- Sprite = 11,
- Colour = 3,
- RouteColour = 3,
- Name = "Location",
- },
- Amount = math.random(2,4),
- Items = {
- [1] = "aluminum",
- [2] = "steel",
- [3] = "copper",
- [4] = "metalscrap",
- [5] = "rubber",
- },
- },
- }
- Language = {
- Cooldown = "There is currently a cooldown for you, You must wait longer before doing this again.",
- Inside = "You need to be inside the vehicle.",
- CantDismant = "This vehicle cannot be dismantled",
- DriverDoor = "Removing the driver's door...",
- PassengerDoor = "Removing the passenger's door...",
- RearDriverDoor = "Removing the rear driver's door...",
- RearPassengerDoor = "Removing the rear passenger's door...",
- RemoveHood = "Removing the hood...",
- RemoveTrunk = "Removing the trunk...",
- WrongJob = "You have the wrong job.",
- NothingToSell = "You have nothing to sell.",
- ChopChop = "Chop Chop Vehicle",
- SellItems = "Sell Items",
- EmailAuthor = "Mr. John",
- EmailSubject = "Chop Chop",
- EmailMessage = "Thanks for the vehicle. I'll send an attach coordinates through the GPS.",
- MenuHeader = "Sell Chop Chop Items",
- MenuSubHeader = "You can win valuable items!",
- SellDriverDoor = "Sell Driver's Door",
- SellPassengerDoor = "Sell Passenger's Door",
- SellRearDriverDoor = "Sell Rear Driver's Door",
- SellRearPassengerDoor = "Sell Rear Passenger's Door",
- SellHood = "Sell Hood",
- SellTrunk = "Sell Trunk",
- Close = "❌ Close",
- }
- function Notify(msg)
- QBCore.Functions.Notify(msg)
- end
- function progressBar(msg)
- QBCore.Functions.Progressbar("progressBar", msg, 5000, false, true, {disableMovement = true,disableCarMovement = true,disableMouse = false,
- disableCombat = true}, {}, {}, {}, function() end)
- end
- function PoliceCall()
- -- Trigger your dispach
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement