Dismant
Config.BlacklistVehicles = { -- Vehicles that can't be dismantled
"police",
"police2",
}
Config.TradingSettings = {
["brokenengine"] = { -- Item required
itemNeeded = "brokenengine", -- Item required
itemReward = {"engine0", "engine1", "engine2", "engine3", "engine4"}, -- Random items for reward
chance = {100, 70, 60, 50, 40}, -- Chance of ordered rewards
amount = {1, 2}, -- Quantity of rewards
},
["brokenbrakes"] = {
itemNeeded = "brokenbrakes",
itemReward = {"brake0", "brake1", "brake2", "brake3"},
chance = {100, 70, 60, 50},
amount = {1, 2},
},
["brokentransmission"] = {
itemNeeded = "brokentransmission",
itemReward = {"transmission0", "transmission1", "transmission2", "transmission3"},
chance = {100, 70, 60, 50},
amount = {1, 2},
},
["brokenturbo"] = {
itemNeeded = "brokenturbo",
itemReward = {"turbo0"},
chance = {100},
amount = {1, 2},
},
["brokensuspension"] = {
itemNeeded = "brokensuspension",
itemReward = {"suspension0", "suspension1", "suspension2", "suspension3"},
chance = {100, 70, 60, 50},
amount = {1, 2},
},
}
Config.DismantVehicles = {
Locations = {
[1] = {
coords = vector3(-182.94, -1286.31, 31.3), -- Dismantle Vehicle Location
pedCoords = vector3(-174.86, -1273.17, 32.6), -- Ped Location
pedModel = "s_m_m_autoshop_01", -- Ped Model
pedHeading = 88.58, -- Ped Heading
pedLabel = "Trade Broken Parts",-- Label on help text
label = "Dismantle Vehicle", -- Label on help text
zoneRange = 5.0, -- Range to show help text
jobNames = {"mechanic"}, -- Job names that can dismantle vehicles
timeProgressbar = 5, -- 5 Seconds
rewardAmountList = 1, -- 1 only of the list below
Rewards = {
[1] = { item = "brokenengine", amount = math.random(1,2) },
[2] = { item = "brokenbrakes", amount = math.random(1,2) },
[3] = { item = "brokentransmission", amount = math.random(1,2) },
[4] = { item = "brokenturbo", amount = math.random(1,2) },
[5] = { item = "brokensuspension", amount = math.random(1,2) },
}
},
}
}
Last updated