Configuration
Config = {}
Config.DrawDistance = 15.0 -- Change the distance before you can see the marker. Less is better performance.
Config.ChopDistance = 1.5 -- Distance to interact/action
Config.MinimumCops = 0 -- Set minimum cops to start illegal car chopping
Config.BankMoney = false -- Set to true if you want the money to go into the players bank
Config.Settings = {
EnableCooldown = true, -- Enable or disable cooldown
CooldownTime = 30 * 60000, -- 30min cooldown to each player who chopped already a car
PoliceCallChance = 100, -- 100% Police Call chance
Dispatch = "ps-dispatch", -- You can set Police Notification export here sample: ps-dispatch or qb-dispatch or erp-dispatch
}
Config.CarChopExtras = {
markerid = 21,
dotmarker = 21,
markercolor = { r = 50, g = 200, b = 160, o = 100 },
markerscale = { x = 0.35, y = 0.35, z = 0.35 },
sellermarker = true,
}
Config.EnableBlips = false -- Set to false to disable blips.
Config.Blips = {
blipsprite = 225,
blipcolor = 1,
blipscale = 0.5,
}
Config.Places = {
[1] = {
pedhash = "a_m_y_golfer_01", -- Hash of the Ped Model - changeable
pdot = vector3(-557.64, -1695.82, 19.16), -- DO NOT TOUCH!!!
peddot = vector4(1125.88, -1241.83, 20.40, 130.99), -- Ped Model position
tped = vector3(1125.3, -1242.29, 21.0), -- Sell location
},
}
Config.ChopRewardAmount = {
NormalRim = math.random(4,5),
QualityRim = math.random(4,5),
Doors = math.random(4,5),
Speaker = math.random(4,5),
HighRadio = math.random(4,5),
LowRadio = math.random(4,5),
Battery = math.random(4,5),
}
Config.ChopItems = {
[1] = {
item = 'airbag',
price = math.random(400,420)
},
[2] = {
item = 'lowradio',
price = math.random(350,360)
},
[3] = {
item = 'stockrim',
price = math.random(300,310)
},
[4] = {
item = 'doors',
price = math.random(290,300)
},
[5] = {
item = 'speaker',
price = math.random(420,430)
},
[6] = {
item = 'fakeplate',
price = math.random(250,260)
},
[7] = {
item = 'lockpick',
price = math.random(150,160)
},
[8] = {
item = 'battery',
price = math.random(530,550)
},
[9] = {
item = 'belt',
price = math.random(380,400)
},
[10] = {
item = 'highradio',
price = math.random(980,1010)
},
[11] = {
item = 'highrim',
price = math.random(1560,1750)
}
}
Config = {}
Config.DrawDistance = 15.0 -- Change the distance before you can see the marker. Less is better performance.
Config.ChopDistance = 1.5 -- Distance to interact/action
Config.MinimumCops = 0 -- Set minimum cops to start illegal car chopping
Config.BankMoney = false -- Set to true if you want the money to go into the players bank
Config.PoliceJobs = { -- Only for ESX
"police",
"sheriff",
}
Config.Settings = {
EnableCooldown = true, -- Enable or disable cooldown
CooldownTime = 30 * 60000, -- 30min cooldown to each player who chopped already a car
PoliceCallChance = 100, -- 100% Police Call chance
Dispatch = "ps-dispatch", -- You can set Police Notification export here sample: ps-dispatch or qb-dispatch or erp-dispatch
}
Config.CarChopExtras = {
markerid = 21,
dotmarker = 21,
markercolor = { r = 50, g = 200, b = 160, o = 100 },
markerscale = { x = 0.35, y = 0.35, z = 0.35 },
sellermarker = true,
}
Config.EnableBlips = false -- Set to false to disable blips.
Config.Blips = {
blipsprite = 225,
blipcolor = 1,
blipscale = 0.5,
}
Config.Places = {
[1] = {
pedhash = "a_m_y_golfer_01", -- Hash of the Ped Model - changeable
pdot = vector3(-557.64, -1695.82, 19.16), -- DO NOT TOUCH!!!
peddot = vector4(1125.88, -1241.83, 20.40, 130.99), -- Ped Model position
tped = vector3(1125.3, -1242.29, 21.0), -- Sell location
},
}
Config.ChopRewardAmount = {
NormalRim = math.random(4,5),
QualityRim = math.random(4,5),
Doors = math.random(4,5),
Speaker = math.random(4,5),
HighRadio = math.random(4,5),
LowRadio = math.random(4,5),
Battery = math.random(4,5),
}
Config.ChopItems = {
[1] = {
item = 'airbag',
price = math.random(400,420)
},
[2] = {
item = 'lowradio',
price = math.random(350,360)
},
[3] = {
item = 'stockrim',
price = math.random(300,310)
},
[4] = {
item = 'doors',
price = math.random(290,300)
},
[5] = {
item = 'speaker',
price = math.random(420,430)
},
[6] = {
item = 'fakeplate',
price = math.random(250,260)
},
[7] = {
item = 'lockpick',
price = math.random(150,160)
},
[8] = {
item = 'battery',
price = math.random(530,550)
},
[9] = {
item = 'belt',
price = math.random(380,400)
},
[10] = {
item = 'highradio',
price = math.random(980,1010)
},
[11] = {
item = 'highrim',
price = math.random(1560,1750)
}
}
Config.Lang = {
error = {
negative = 'Trying to sell a negative amount?',
no_items = 'Insufficient Item',
no_cops = 'There are not enough police',
no_cartheif = 'You Cant Smash Cars Now Come In 10 Minutes',
no_cartheif2 = 'You Cant Smash Cars Now Come In 30 Minutes',
no_dist = 'Shredding canceled because you moved away!',
paltedot = 'You cannot change the plate while on the move!',
platedot2 = 'You cannot change the license plate while Outside the Vehicle!',
cooldown = 'You Cant Use This Item So Fast!',
platenot = 'There is no fake license plate attached to the vehicle!',
plateinstalled = 'Fake License Plate Already Installed on Vehicle'
},
success = {
sold = 'You successfully sold your parts for ',
youputtheplate = 'Installed the original license plate of the vehicle',
platechanged = 'You changed the license plate of the vehicle!'
},
progress = {
changeplate = 'Plate is Changing',
plateremoving = 'Plate Removing'
},
blip = {
vehicleshredding = 'Vehicle Shredding'
},
target = {
label = 'Press ~INPUT_CONTEXT~ to open seller',
name = 'Vehicle Parts Dealer'
},
info = {
title = 'Junkman',
sell = 'Sell Items',
sell_chop = 'Sell Items',
sell_items = 'Sale Price ',
back = '⬅ Turn back',
max = 'Max. Amount ',
notifyheader = "Chop Shop",
notifysubheader = "Info",
},
drawtext = {
frontleftdoor = 'Front Left Door',
dismantlingdoor = 'Youre Dismantling the Door',
boxfrontleftdoor = 'Box Front Left Door',
frontleftdoorboxing = 'Front Left Door Boxing',
frontrightdoor = 'Front right Door',
boxfrontrightdoor = 'Box the Front Right Door',
frontrightdoorboxing = 'Front Right Door Boxing',
rearleftdoor = 'Rear left Door',
boxtherearleftdoor = 'Box the Rear Left Door',
boxingtherearleftdoor = 'Boxing the Rear Left Door',
rearrightdoor = 'Rear right Door',
boxrearrightdoor = 'Box Rear Right Door',
boxingtherearrightdoor = 'Boxing the Rear Right Door',
trunk = 'Trunk',
youdismantletheluggage = 'You Dismantle the Luggage',
boxluggage = 'Box Luggage',
thetailgateisboxed = 'The Tailgate is Boxed',
fronthood = 'Front hood',
youareremovingthefronthood = 'You Are Removing The Front Hood',
boxthefronthood = 'Box the Front Hood',
fronthoodboxing = 'Boxing the Front Hood',
radio = 'Radio',
youdisassembletheradio = 'You Disassemble the Radio',
radiobox = 'Radio Box',
radioboxing = 'Radio Boxing',
getboxedpieces = 'Get Boxed Pieces',
collectingboxedpieces = 'Collecting Boxed Pieces',
smashthecar = '~w~~g~[E]~w~ Smash Car'
}
}
Last updated