🛠️Config
TZMCElectricalJobConfig = {}
--[[
ultra-voltlab INSTALLATION
This script requires ultra-voltlab which you can install here: https://github.com/ultrahacx/ultra-voltlab/releases/tag/1.1.2
]]--
TZMCElectricalJobConfig.MaxJobLocations = 3
TZMCElectricalJobConfig.QuitCooldownTime = 900 -- When a player quits, they will need to wait this long to do another job. This prevents players from trying to get an easy job run by quitting and trying again every time.
-- TARGET --
TZMCElectricalJobConfig.StartJobLabel = "Start Job"
-- COMMAND --
TZMCElectricalJobConfig.StopJobCommand = 'stopelecjob'
TZMCElectricalJobConfig.StopJobHelpText = "Stop the electrical job you're on"
-- MARKER --
TZMCElectricalJobConfig.JobMarker = { -- Color of the job marker
Red = 255,
Green = 153,
Blue = 0,
}
-- NPC --
TZMCElectricalJobConfig.StartJobNPC = {
model = 's_m_y_construct_01',
x = 679.52,
y = 77.26,
z = 83.11,
h = 220.46,
}
-- PAYMENT --
TZMCElectricalJobConfig.MinimumPayment = 250
TZMCElectricalJobConfig.MaximumPayment = 750
TZMCElectricalJobConfig.CompletedPaymentAmount = 1000 -- This is bonus given to the player for completing all jobs
TZMCElectricalJobConfig.PaymentType = 'bank'
-- NOTIFICATIONS --
TZMCElectricalJobConfig.UseQBNotify = true
TZMCElectricalJobConfig.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'.
TZMCElectricalJobConfig.SuccessTitle = 'Success'
TZMCElectricalJobConfig.ErrorTitle = 'Error'
TZMCElectricalJobConfig.JobStarted = "Job started - Head to the first location"
TZMCElectricalJobConfig.NotInJob = "You're not in a job"
TZMCElectricalJobConfig.StopJob = "You have stopped your job."
TZMCElectricalJobConfig.NextJob = 'Head to the next job'
TZMCElectricalJobConfig.CurrentPoint = "Job point"
TZMCElectricalJobConfig.FullJobCompleted = "All jobs completed! You have earned a bonus of $"..TZMCElectricalJobConfig.CompletedPaymentAmount..' for completing all jobs'
TZMCElectricalJobConfig.AlreadyInJob = "You're in a job already"
TZMCElectricalJobConfig.RecentlyQuitJob = "You recently quit a job"
TZMCElectricalJobConfig.FixElectricalBox = 'Press ~INPUT_CONTEXT~ to fix.'
TZMCElectricalJobConfig.FailedGame = "You failed to fix the electrical box, try again."
-- JOB LOCATIONS --
TZMCElectricalJobConfig.JobLocations = {
vector3(-1509.32, 834.56, 181.71),
vector3(-1558.93, 781.08, 189.31),
vector3(2634.31, 2934.22, 44.74),
vector3(-69.11, -2724.9, 6.01),
vector3(-51.11, -2731.09, 6.15),
vector3(1901.58, 573.44, 176.58),
vector3(1346.04, 4379.66, 44.34),
vector3(533.96, -860.44, 15.4),
vector3(516.66, -806.73, 15.51),
vector3(519.37, -970.34, 27.41),
vector3(-356.79, -641.77, 31.8),
vector3(403.74, 284.82, 103.02),
vector3(481.83, 110.22, 97.61),
vector3(339.09, 162.04, 103.32),
vector3(423.29, 101.38, 100.38),
vector3(535.46, 176.36, 100.17),
vector3(635.33, 21.84, 87.11),
vector3(692.4, -2269.38, 28.86),
vector3(685.12, -2353.26, 23.37),
vector3(750.01, -1419.82, 29.23),
vector3(781.71, -1458.87, 27.0),
vector3(1075.52, -1729.58, 35.71),
vector3(1140.26, -1420.07, 34.64),
vector3(1161.51, -2540.23, 34.78),
vector3(807.44, -1017.65, 26.24),
vector3(204.0, -2199.37, 5.96),
vector3(365.44, -2284.61, 10.53),
vector3(341.34, -2346.83, 10.55),
vector3(-105.69, -1725.84, 29.86),
vector3(-144.8, -1397.67, 30.09),
vector3(-42.02, -1633.98, 29.5),
vector3(-80.28, -1582.59, 30.84),
vector3(-127.99, -1500.68, 34.12),
vector3(310.84, -1325.35, 32.05),
vector3(417.11, -1575.65, 29.33),
vector3(-703.39, -1059.91, 14.49),
vector3(-1738.91, -427.5, 43.71),
vector3(-1623.64, -530.79, 34.46),
vector3(-1653.07, -471.01, 38.78),
vector3(-1332.04, -1526.04, 4.41),
vector3(-1445.18, -1039.72, 4.81),
vector3(699.85, 573.51, 130.46),
vector3(1182.36, -1300.38, 34.98),
vector3(606.37, -2804.78, 6.06),
vector3(-253.9, -1358.64, 31.3),
vector3(-320.18, -1614.27, 20.57),
vector3(-735.72, -568.96, 30.28),
vector3(-1461.85, -899.23, 10.77),
vector3(-1545.33, -860.92, 10.14),
vector3(713.97, 1286.03, 360.3),
vector3(2519.37, 2633.53, 37.94),
vector3(50.28, -790.22, 31.72),
vector3(100.51, -969.21, 29.37),
vector3(-244.81, -576.25, 34.45),
vector3(421.61, -1124.04, 29.42),
vector3(405.91, -1075.62, 29.41),
vector3(387.89, -1007.88, 29.42),
vector3(486.13, -814.88, 25.16),
vector3(188.0, -67.66, 68.69),
vector3(70.74, -131.86, 55.34),
vector3(-51.59, -55.33, 61.57),
vector3(302.28, -53.33, 70.91),
vector3(351.92, -224.21, 54.89),
vector3(231.32, -181.11, 55.8),
vector3(253.78, -345.06, 44.54),
vector3(287.68, -442.65, 43.67),
vector3(424.11, -295.3, 50.79),
vector3(-7.74, -326.24, 43.96),
vector3(126.1, -318.56, 45.48),
vector3(118.89, 243.95, 107.68),
vector3(-17.99, 39.47, 71.95),
vector3(218.51, 297.2, 105.56),
vector3(534.18, 247.2, 103.11),
vector3(615.9, 217.29, 101.05),
vector3(1377.89, -1781.93, 63.53),
vector3(804.92, -1678.64, 29.39),
vector3(911.8, -1698.77, 51.13),
vector3(696.82, -2038.52, 29.29),
vector3(808.55, -2459.96, 23.45),
vector3(687.85, -1374.58, 23.94),
vector3(670.74, -955.68, 22.03),
vector3(665.51, -668.25, 25.45),
vector3(778.51, -390.71, 33.37),
vector3(777.21, -1121.09, 29.26),
vector3(-297.57, -341.16, 29.94),
vector3(-345.86, -270.39, 33.03),
vector3(-569.48, 271.27, 82.98),
vector3(-656.1, -2363.69, 13.94),
vector3(-1139.17, -122.32, 39.15),
vector3(-1466.45, -268.04, 48.59),
vector3(-1181.17, -613.97, 24.71),
vector3(-1578.35, 55.94, 59.39),
vector3(-1171.33, 347.47, 70.73),
vector3(-1355.35, 376.7, 64.91),
vector3(-1407.07, 335.74, 62.81),
vector3(-1453.18, 77.95, 52.32),
vector3(-1437.78, 99.29, 52.41),
vector3(-1407.34, 232.98, 59.49),
vector3(-1494.27, 209.05, 59.41),
vector3(-816.44, -65.79, 37.81),
vector3(-836.23, 310.96, 86.17),
vector3(-900.68, 364.54, 80.19),
vector3(-640.09, -922.9, 23.72),
vector3(-1315.34, -890.6, 11.97),
vector3(-1164.39, -965.52, 3.26),
vector3(-1140.19, -839.47, 14.76),
vector3(-1245.87, -1157.22, 7.62),
vector3(-1120.25, -1400.82, 5.15),
vector3(-993.25, -1248.43, 5.98),
vector3(-330.92, 434.64, 109.63),
vector3(457.63, -1112.46, 43.08),
vector3(433.76, -1078.16, 43.07),
vector3(464.52, -1059.36, 29.21),
vector3(1112.53, -1545.57, 35.27),
vector3(1126.65, -1516.51, 45.33),
vector3(814.47, -796.78, 35.14),
vector3(916.7, -920.17, 59.09),
vector3(888.0, -941.85, 44.19),
vector3(889.64, -985.89, 44.19),
vector3(910.0, -880.09, 41.74),
vector3(-506.04, -1212.33, 22.79),
vector3(-1501.63, -560.41, 32.79),
vector3(1710.65, -1679.77, 112.56)
}
Last updated