🛠️Config
TZMCTowJobConfig = {}
TZMCTowJobConfig.EnableExactLocation = false -- If this is set true, a pulse will appear on the map to the exact location of the vehicle to save you searching in the location. Good if you're looking to test.
TZMCTowJobConfig.UsingLegacyQBCore = false -- If you're using an older version of QB core, giving items is slightly different. However, if you are on a recent version feel free to leave this false.
-- JOB --
TZMCTowJobConfig.QuitCooldownTime = 900 -- How many seconds does the player need to wait till they can do another chop job
TZMCTowJobConfig.MissionStartCooldown = math.random(15,45) -- How many seconds does the player need to wait till the car position is shown - set this to 0 if you'd like the mission to start immediately
TZMCTowJobConfig.SearchRadius = 250.0 -- This is the search radius for finding the vehicle, you can make this easier by decreasing this or make it more challenging by increasing it
-- PROGRESS BAR --
TZMCTowJobConfig.LoadingProgressBarLabel = "Loading Vehicle"
TZMCTowJobConfig.LoadingProgressBarTime = 10
TZMCTowJobConfig.UnloadingProgressBarLabel = "Unloading Vehicle"
TZMCTowJobConfig.UnloadingProgressBarTime = 10
-- TARGET --
TZMCTowJobConfig.TargetStartJobLabel = "Start Job"
TZMCTowJobConfig.TargetStartJobIcon = "fa-solid fa-car"
TZMCTowJobConfig.TargetUnloadVehicleLabel = "Unload Vehicle"
TZMCTowJobConfig.TargetUnloadVehicleIcon = "fa-solid fa-car"
TZMCTowJobConfig.HireVehicleTargetLabel = "Rent Vehicle"
TZMCTowJobConfig.HireVehicleTargetIcon = "fa-solid fa-truck-front"
TZMCTowJobConfig.AttatchVehicleTargetLabel = "Attach to Tow Truck"
TZMCTowJobConfig.AttatchVehicleTargetIcon = "fa-solid fa-truck-front"
-- NPC --
TZMCTowJobConfig.StartJobNPC = {
model = 's_m_m_autoshop_02',
x = 409.57,
y = -1623.33,
z = 29.29,
h = 231.5,
}
-- COMMAND --
TZMCTowJobConfig.StopJobCommand = 'stoptow'
TZMCTowJobConfig.StopJobCommandHelpText = "Stop the tow job you're currently on."
-- RENTAL --
TZMCTowJobConfig.EnableRental = true -- Enable the option for players to hire a van
TZMCTowJobConfig.UseCash = true -- Keeping this true will use cash as the payment method for renting the van, keeping this false will use bank
TZMCTowJobConfig.RentalCost = 500
TZMCTowJobConfig.RentalModel = 'flatbed'
TZMCTowJobConfig.RentalSpawns = {
{ X = 397.76, Y = -1642.48, Z = 29.38, H = 319.95},
{ X = 400.36, Y = -1644.27, Z = 29.38, H = 319.95},
{ X = 402.59, Y = -1646.48, Z = 29.38, H = 319.95},
{ X = 405.07, Y = -1648.41, Z = 29.38, H = 319.95},
{ X = 407.46, Y = -1650.46, Z = 29.38, H = 319.95},
{ X = 409.61, Y = -1652.76, Z = 29.38, H = 319.95},
}
-- NOTIFICATIONS --
TZMCTowJobConfig.UseQBNotify = true
TZMCTowJobConfig.NotificationEvent = "" -- If you're using your own notification system, enter the event here. If you leave this blank and set QBNotify to false this will use the FiveM chat to notify the player. The parameters are (text, status) Status can be either 'success' or 'error'.
TZMCTowJobConfig.SuccessTitle = 'Success'
TZMCTowJobConfig.ErrorTitle = 'Error'
TZMCTowJobConfig.AlreadyInJob = "You're in a job already"
TZMCTowJobConfig.RecentlyQuitJob = "You recently quit a job"
TZMCTowJobConfig.NotInJob = "You're not in a job"
TZMCTowJobConfig.JobStopped = "You stopped the job"
TZMCTowJobConfig.JobStarted = "Vehicle found - head to the vehicle"
TZMCTowJobConfig.TowVehicle = "Tow the vehicle"
TZMCTowJobConfig.JobComplete = "Job complete"
TZMCTowJobConfig.FindingVehicle = "We're sourcing a vehicle for you, please wait."
TZMCTowJobConfig.RentalSuccess = "Your rental is ready to pickup"
TZMCTowJobConfig.RentalFailed = "You can't afford this"
TZMCTowJobConfig.NoTowTruckNearby = "No tow truck nearby!"
-- EMAIL --
TZMCTowJobConfig.EmailSender = "Premium Deluxe"
TZMCTowJobConfig.EmailSubject = "Vehicle Repo Details"
TZMCTowJobConfig.RepoVehicleEmail = "This vehicle needs to be repossessed. Vehicle details:<br><br>Model: ${model}<br>Plate: ${plate}<bR><br>Good Luck"
--[[
PAYOUT
You can set the odds for each item and how much cash the player earns in each class. For example, you may include marked bills in a higher vehicle class chop.
item - This is the item that is given to the player.
data - Any data required for each item like markedbills requires an amount
odds - This is the percentage chance of the player recieving this item, it is best to always set at least one item to 100% chance of recieving it.
minimum/maximum - The minimum/maximum amount of the item. This will select a number between these numbers to give.
]]--
TZMCTowJobConfig.MoneyType = 'cash'
TZMCTowJobConfig.Payout = {
['S'] = {
minimumPayoutCash = 1000,
maximumPayoutCash = 10000,
items = {
{
item = 'markedbills',
odds = 10,
minimum = 10,
maximum = 30,
data = {
worth = 500
}
}
}
},
['A'] = {
minimumPayoutItem = 10,
maximumPayoutItem = 100,
minimumPayoutCash = 500,
maximumPayoutCash = 5000,
items = {
{
item = 'markedbills',
odds = 10,
minimum = 10,
maximum = 30,
data = {
worth = 500
}
}
}
},
['B'] = {
minimumPayoutCash = 500,
maximumPayoutCash = 5000,
},
['C'] = {
minimumPayoutCash = 250,
maximumPayoutCash = 2500,
},
['D'] = {
minimumPayoutCash = 250,
maximumPayoutCash = 2500,
}
}
-- VEHICLES --
TZMCTowJobConfig.Vehicles = {
{ model = "bullet", class = 'S'},
{ model = "sultanrs", class = 'S'},
{ model = "comet5", class = 'S'},
{ model = "drafter", class = 'A'},
{ model = "jugular", class = 'A'},
{ model = "sultan2", class = 'A'},
{ model = "paragon", class = 'A'},
{ model = "remus", class = 'B'},
{ model = "oracle", class = 'B'},
{ model = "dominator", class = 'B'},
{ model = "casco", class = 'B'},
{ model = "savestra", class = 'B'},
{ model = "sentinel3", class = 'B'},
{ model = "zion3", class = 'B'},
{ model = "z190", class = 'B'},
{ model = "coquette3", class = 'B'},
{ model = "fugitive", class = 'B'},
{ model = "coquette2", class = 'B'},
{ model = "comet3", class = 'B'},
{ model = "baller2", class = 'B'},
{ model = "contender", class = 'B'},
{ model = "dubsta2", class = 'B'},
{ model = "novak", class = 'B'},
{ model = "toros", class = 'B'},
{ model = "xls", class = 'B'},
{ model = "dominator8", class = 'C'},
{ model = "futo", class = 'C'},
{ model = "rt3000", class = 'C'},
{ model = "brioso2", class = 'C'},
{ model = "weevil", class = 'C'},
{ model = "club", class = 'C'},
{ model = "asbo", class = 'C'},
{ model = "dynasty", class = 'C'},
{ model = "clique", class = 'C'},
{ model = "cheburek", class = 'C'},
{ model = "issi3", class = 'C'},
{ model = "michelli", class = 'C'},
{ model = "fagaloa", class = 'C'},
{ model = "hermes", class = 'C'},
{ model = "raptor", class = 'C'},
{ model = "minivan2", class = 'C'},
{ model = "btype3", class = 'C'},
{ model = "lurcher", class = 'C'},
{ model = "moonbeam", class = 'C'},
{ model = "bifta", class = 'C'},
{ model = "impaler", class = 'C'},
{ model = "rhapsody", class = 'C'},
{ model = "taxi", class = 'D'},
{ model = "rebel", class = 'D'},
{ model = "voodoo2", class = 'D'},
{ model = "ratloader", class = 'D'},
{ model = "regina", class = 'D'},
{ model = "rancherxl", class = 'D'},
{ model = "primo", class = 'D'},
{ model = "picador", class = 'D'},
{ model = "ingot", class = 'D'},
{ model = "stratum", class = 'D'},
{ model = "stanier", class = 'D'},
{ model = "ruiner", class = 'D'},
{ model = "premier", class = 'D'},
{ model = "manana", class = 'D'},
{ model = "surfer", class = 'D'},
{ model = "journey", class = 'D'},
{ model = "rumpo", class = 'D'},
{ model = "bfinjection", class = 'D'},
{ model = "dune", class = 'D'},
{ model = "issi2", class = 'D'},
{ model = "bobcatxl", class = 'D'},
{ model = "rebel2", class = 'D'},
{ model = "paradise", class = 'D'},
{ model = "bodhi2", class = 'D'},
{ model = "dilettante", class = 'D'},
{ model = "tornado", class = 'D'},
}
--[[
REPO DROP OFF
You can enter multiple drop off locations and this will choose one at random
]]
TZMCTowJobConfig.RepoDropOffLocation = {
vector3(408.93, -1639.39, 29.29)
}
-- VEHICLE SPAWNS --
TZMCTowJobConfig.Spawns = {
{ X = 936.51, Y = -94.16, Z = 78.18, H = 42.23},
{ X = 1153.74, Y = -332.16, Z = 68.24, H = 190.51},
{ X = 1246.18, Y = -578.31, Z = 68.69, H = 271.05},
{ X = 965.01, Y = -1038.96, Z = 40.25, H = 269.08},
{ X = 707.18, Y = -980.41, Z = 23.55, H = 224.04},
{ X = 408.83, Y = -1436.71, Z = 28.81, H = 29.34},
{ X = 448.65, Y = -1374.3, Z = 37.98, H = 228.18},
{ X = 256.28, Y = -1520.13, Z = 28.56, H = 211.13},
{ X = -55.12, Y = -1690.01, Z = 28.91, H = 312.4},
{ X = -551.99, Y = -1143.34, Z = 19.34, H = 167.34},
{ X = -814.47, Y = -1312.08, Z = 4.42, H = 348.03},
{ X = -1099.34, Y = -1505.91, Z = 4.11, H = 302.31},
{ X = -966.5, Y = -1477.86, Z = 4.44, H = 107.61},
{ X = -1008.86, Y = -1010.01, Z = 1.57, H = 209.09},
{ X = -1171.36, Y = -917.64, Z = 2.07, H = 211.04},
{ X = -1424.96, Y = -674.29, Z = 26.08, H = 35.76},
{ X = -1392.23, Y = -469.54, Z = 31.01, H = 9.18},
{ X = -1407.08, Y = -276.8, Z = 45.8, H = 312.14},
{ X = -1288.63, Y = -244.44, Z = 50.97, H = 305.84},
{ X = -1112.87, Y = -319.06, Z = 37.1, H = 264.78},
{ X = -1039.6, Y = -412.37, Z = 32.69, H = 206.53},
{ X = -713.25, Y = -174.45, Z = 36.27, H = 29.09},
{ X = -833.05, Y = -134.43, Z = 36.91, H = 66.16},
{ X = -836.17, Y = 111.3, Z = 54.53, H = 31.01},
{ X = -727.96, Y = -68.46, Z = 41.17, H = 207.11},
{ X = -497.39, Y = 64.25, Z = 55.92, H = 175.55},
{ X = -587.42, Y = 137.99, Z = 60.35, H = 22.28},
{ X = -445.76, Y = 99.05, Z = 62.58, H = 176.34},
{ X = -315.79, Y = 108.55, Z = 66.96, H = 359.86},
{ X = -139.21, Y = 151.73, Z = 76.93, H = 160.05},
{ X = -72.38, Y = 147.62, Z = 80.77, H = 303.13},
{ X = -126.5, Y = 210.53, Z = 92.6, H = 178.86},
{ X = -63.26, Y = 326.8, Z = 109.97, H = 154.95},
{ X = -29.32, Y = 201.54, Z = 101.4, H = 255.61},
{ X = 120.76, Y = 287.61, Z = 109.39, H = 70.58},
{ X = 220.21, Y = 174.92, Z = 104.7, H = 249.38},
{ X = 357.05, Y = 282.83, Z = 102.84, H = 69.11},
{ X = 334.34, Y = -129.01, Z = 66.51, H = 339.83},
}
Last updated