Configuration

You can configure script in config.lua

CONFIG.LUA

Config = {}

Config.PlayersOnline = 0

Config.ScrapDestination = vector3(-576.5237, -1639.9725, 19.4127)

--  https://overextended.github.io/docs/ox_lib/Interface/Client/skillcheck
Config.UseMinigame = true -- If false use progress bar
Config.MinigameSetup = {'easy', 'easy','medium'}
Config.MarkerSettigs = {
    showMarker = false,
}
Config.DrawTextSettigs = {
    showText = false,
    text = "Scrapyard",
}

Config.ServerLimit = true -- Only 1 person can scrap vehicle on server

-- Give item when demonting.
Config.DemontingPartItems = {
    "screw",
    "gun_spring",
}

Config.ItemGiveByPart = {
    min=1,
    max=2,
}

Config.LegendaryItem = {
    chance=40, --%
    name="gun_spring",
    min=1,
    max=3
}

Config.ItemsPrice = {
    ["scrap"] = 100,
    ["screw"] = 50,
    ["tyre"] = 400,
}

Config.Mechanic = {
    model = "a_m_m_farmer_01",
    pos = vector4(1593.8262, -1688.4019, 88.0844, 185.1284),
}

Config.Progress = {
    removepart = 5000, 
    scrapvehicle = 4000,
}
 

-- You must have dispatch.lua set up
Config.PoliceJobs = {"police","sheriff"}
Config.SignalToPolice = {
    removePart = {
        signal = true,
        chance = 10, -- %
    },
    scrapvehicle = {
        signal = true,
        chance = 40, -- %
    },
}


Config.BlackListedVehicles = {
    "vigero", 
}     

CONFIGURE FRAMEWORK

You can configure your framework in BRIDGE/config.lua

CONFIGURE DISPATCH

Dispatch is set to cd_dispatch by default, but can be changed at any time in dispatch.lua

Last updated