Advertisement
Seb

Untitled

Seb
Nov 26th, 2024
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.63 KB | None | 0 0
  1. Config = {
  2.     Lan = "fr", -- Pick your language file here
  3.     System = {
  4.         Debug = true, -- Set to true to show green debug boxes to help track any issues
  5.  
  6.         Menu = "ox",                -- "qb", "ox", "gta"
  7.         Notify = "ox",              -- "qb", "ox", "gta", "esx"
  8.         ProgressBar = "ox",         -- "qb", "ox", "gta", "esx"
  9.  
  10.         distkph = false,            -- Set to false to read distance travelled in Miles.
  11.  
  12.         RenewedBanking = false,     -- This is used for manualrepair benches, enable to use
  13.     },
  14.  
  15.     General = {
  16.         JimShops = false,           -- Enable to open shops in jim-shops menu's
  17.         showClockInTill = true,     -- Enable to show toggle duty options at payment tills
  18.         showBossMenuTill = true,    -- Enable to show bossmenu options at payment tills
  19.     },
  20.  
  21.     Main = { -- Main variables
  22.         isVehicleOwned = false,     -- Keep this true if you only want changes to be made to owned vehicles
  23.         ItemRequiresJob = true,     -- Do the specfic items require the mechanic job?
  24.         JobLocationRequired = false, -- Are the mecahanics locked to specific locations?
  25.         LocationBlips = false,      -- Enable to grab the blip locations from locations.lua
  26.         CosmeticsJob = false,       -- Do vehicle cosmetics require a mechanic job role?
  27.         JobRoles = { "risingsun" }, -- These are the job roles who can use items if RequiresJob is enabled.
  28.                                     -- Add your extra job roles here or just leave as "mechanic"
  29.                                     -- Example-- --JobRoles = { "mechanic", "tuner" }
  30.     },
  31.  
  32.     Overrides = {
  33.         CosmeticItemRemoval = false, -- If "true" items will be removed on successful application of a mod
  34.                                     -- If "false" items will not be removed on use
  35.  
  36.         receiveMaterials = false,   -- If true, when removing parts like engines, recieve materials instead of the full engine
  37.                                     -- This is based on material recipes in recipes.lua
  38.  
  39.         updateServerDelay = 20,     -- default 20 second database update delay from the LAST upgrade done to a vehicle
  40.                                     -- This stops overloading of server databases when many changes are happening, it adds a cooldown
  41.         ChameleonPaints = true,     -- Enable this if you want to use chameleon paints (ONLY GAME BUILD 2545 AND ABOVE)
  42.         WaxFeatures = true,         -- Enable this if you want to use Car Wax Features
  43.  
  44.         DoorAnimations = true,      -- Enable door openning animations when repairing/fixing
  45.  
  46.         disableNos = false,         -- Disable nos if you wish to use a separate script
  47.  
  48.  
  49.         disablePreviewPlate = false,-- enable this to disable temporary plate while previewing
  50.  
  51.         saveOnExit = true,          -- Enable this to save a vehicle to database when player exits their vehicle
  52.                                     -- Does not work if they "delete" it, eg. If your garage system doesn't remove the player from the car before parking
  53.     },
  54.  
  55.     Crafting = {
  56.         craftCam = false,
  57.         MultiCraft = true,
  58.         MultiCraftAmounts = { [1], [2] },
  59.         showItemBox = true,         -- toggle itemBox for adding/removing items, helpful if using custom item change events
  60.     },
  61.  
  62.     Harness = {
  63.         JobOnly = false,            -- Only allow job roles to add a Harness to vehicle
  64.         HarnessControl = true,      -- Enable harness AND seatbelt features of the script, requires edits to smallresources and hud scripts
  65.         seatbeltEasyLeave = true,   -- if true players can exit vehicled before removing seatbelt
  66.         harnessEasyLeave = true,    -- if true players can exit vehicled before removing harness
  67.  
  68.         progOn = true,              -- if true add a progressBar to buckle harness
  69.         progOff = true,             -- if true add a progressBar to unbuckle harness
  70.  
  71.         seatbeltNotify = false,     -- if true, show a notification when seatbelt is put on or off
  72.  
  73.         timeOn = 3000,              -- Time for the progress bar to put on harness
  74.         timeOff = 2000,             -- Time for the progress bar to take off harness
  75.  
  76.         minimumSpeed = 70,          -- Minimum speed for crash logic to be triggered
  77.         minimumSeatBeltSpeed = 110, -- Minimuim speed for ejecting with a seatbelt attached
  78.         minimumDamage = 15.0,       -- Minimum body damage for ejecting a player (default 15 = .15%)
  79.  
  80.         crashKill = true,           -- Set to true if you want ejecting when crashing to kill/injure
  81.  
  82.         AltEjection = false,        -- Enabling this may make some varibles above not be used
  83.                                     -- Requires adding a couple lines to your server.cfg to activate
  84.                                     -- Attempts to use in engine logic for crashes but its still theres a chance it may not work in your server
  85.                                     -- Can't hurt to try
  86.                                     -- add these lines to your server.cfg and restart
  87.                                     -- setr game_enableFlyThroughWindscreen true
  88.                                     -- setr game_enablePlayerRagdollOnCollision true
  89.  
  90.     },
  91.  
  92.     vehFailure = {                      -- Enabling these will make allow you to no longer need qb-vehiclefailure
  93.                                         -- ONLY ENABLE IF NOT USING VEHICLEFAILURE OR ANOTHER SCRIPT TO REPLACE IT
  94.         damages = true,                 -- Makes jim-mechanic automatically handle extra damages instead of needing an edit to vehfailure
  95.         repairKits = true,              -- Takes control of repairkit and advancedrepairkit
  96.         fixCommand = true,              -- takes control of /fix command
  97.         PreventRoll = true,         -- takes control of preventing rolling your car back over when upside down
  98.         increaseEngDamage = true,       -- enabling this adds extra damage based on what the body damage has just taken
  99.  
  100.         damageLimits = {
  101.             petrolTank = 750.0,         -- Prevents tankHealth ever going below ( if this goes too low fuel leaks and instantly destorys the engine)
  102.             engine = 50.0,              -- Prevents engine Damage ever going below 50.0
  103.             engineUndriveable = true,   -- If engine is at the above level, make it undriveable
  104.             body = 50.0,                -- Prevent body damage going below 50.0
  105.         }
  106.     },
  107.  
  108.     CarLifts = {
  109.         Enable = false,                 -- Disable this if using a different carlift script
  110.         Sound = true,                   -- Enable/Disable carlift movement noises
  111.         CarLiftModelReplace = {         -- if Enable is true, this table will be used to replace revious models that are in the way of set locations
  112.             `tr_prop_tr_car_lift_01a`,
  113.             `v_45_carlift`,
  114.             `v_71_carlift`,
  115.             `imp_prop_impexp_carrack`,
  116.             `imp_prop_impexp_postlift`,
  117.             `imp_prop_impexp_postlift_up`,
  118.         },
  119.         CarLiftUse = {                  -- Make use of carlifts in mlos, if they have separated parts + collision, they can be used
  120.             -- Gabz Tuners Lifts
  121.             [`denis3d_carlift_02`] = {
  122.                 lift = `denis3d_carlift_01`,
  123.                 offset = vec3(3.0, -1.3, 1.4)
  124.             },
  125.             -- Gabz Bennys Lifts
  126.             [`gabz_bennys_prop_carlift_03`] = {
  127.                 lift = `gabz_bennys_prop_carlift_01`,
  128.                 offset = vec3(-1.5, -2.8, 1.4)
  129.             },
  130.             -- RFC LS CUSTOMS
  131.             [1802445854] = {
  132.                 lift = -1174339517,
  133.                 offset = vec3(-3.0, -2.0, 1.4)
  134.             }
  135.         },
  136.     },
  137.  
  138.     Repairs = { --Repair Related
  139.         FreeRepair = false,         -- Are repairs free? True means yes
  140.         StashRepair = true,         -- Enable for repair materials to be removed from a job stash (disabled if RequiresJob = false)
  141.  
  142.         ExtraDamages = false,       -- When enabled, it will use the built in extra damage systems (Like qb-mechanicjobs functions)
  143.  
  144.         EffectLevels = {            -- What level the parts need to be below before the effects kick in when crashing
  145.             ["oil"] = 50,
  146.             ["axle"] = 30,
  147.             ["spark"] = 20,
  148.             ["battery"] = 10,
  149.             ["fuel"] = 10,
  150.         },
  151.  
  152.         --Vehicle Part Repair Costs
  153.         Parts = {  --- Part repair item and its MAX cost
  154.             ["engine"] = { { part = "steel", cost = 8 }, { part = "iron", cost = 8 }, },
  155.             ["body"] = { part = "plastic", cost = 8 },
  156.             ["oil"] = { part = "newoil", cost = 1 },
  157.             ["axle"] = { part = "axleparts", cost = 1 },
  158.             ["spark"] = { part = "sparkplugs", cost = 1 },
  159.             ["battery"] = { part = "carbattery", cost = 1 },
  160.             ["fuel"] = { part = "steel", cost = 8 },
  161.             ["wheels"] = { part = "sparetire" }, -- Has no cost, 1 per damaged wheel
  162.         },
  163.  
  164.         RepairWheelsWithEngine = false,
  165.         RepairWheelsWithBody = true,
  166.     },
  167.  
  168.     Previews = {
  169.         oldOxLibMenu = true,        -- Enable this to use default context menu for previews when using ox_lib
  170.         PreviewPhone = false,       -- Enable this is preview menu generates an email, False if you want to give an item
  171.         PreviewJob = false,         -- Enable this if you want /preview to require a Job Role
  172.         PreviewLocation = false,    -- Enable this if you want to lock /preview to a job location (ignored if LocationRequired is false)
  173.  
  174.         PhoneItems = {              -- list of phones/items that are needed to get emails. IF you don't have any you will get a clipboard with the list on instead
  175.             "phone",
  176.             "classic_phone",
  177.             "black_phone",
  178.             "blue_phone",
  179.             "gold_phone",
  180.             "red_phone",
  181.             "green_phone",
  182.             "greenlight_phone",
  183.             "pink_phone",
  184.             "white_phone"
  185.         }
  186.     },
  187.  
  188.     StoreCraft = {
  189.         Crafting = true,                -- Set true to turn on crafting features
  190.         StashCraft = true,              -- Set true to grab materials from mechaincs stash for crafting
  191.         Stores = false,                     -- Set true to turn on shop store features
  192.     },
  193.  
  194.     Odometer = {
  195.         ShowOdo = false,                    -- Wether the distance is showed in car by default
  196.  
  197.         ShowToAll = false,                  -- Show Odometer to passengers aswell as driver
  198.         ShowPassengersAllIcons = false,     -- Enabling this will only show passengers the buckle/harness icon
  199.         OdoAlwaysShowIcons = true,          -- Enable this to show the icons even when not damaged
  200.         OdoShowLimit = 70,                  -- If OdoAlwaysShowIcons, the damage icons only will be shown if below this percent
  201.  
  202.         SeatbeltHideWhenBuckled = false,    -- Hide seatlbelt icon when buckled
  203.         HarnessHideWhenBuckled = false,     -- Hide Harness icon when buckled
  204.  
  205.         showSpeedometer = true,
  206.  
  207.         OdoIconsToShow = {
  208.             ["engine"] = true,
  209.             ["body"] = true,
  210.             ["oil"] = true,
  211.             ["spark"] = true,
  212.             ["fuel"] = true,
  213.             ["axle"] = true,
  214.             ["battery"] = true,
  215.             ["wheel"] = true,
  216.             ["headlight"] = true,
  217.             ["seatbelt"] = true,
  218.             ["harness"] = true,
  219.             ["underglow"] = true,
  220.             ["doors"] = true,
  221.             ["manual"] = true,
  222.             ["antilag"] = true,
  223.             ["mileage"] = true,
  224.             ["lowfuel"] = true,
  225.             ["nos"] = true,
  226.         },
  227.  
  228.         odoCustomisation = {
  229.             showHealthValues = false,                               -- Always show health numbers on icons (otherwise only shows in debug mode)
  230.  
  231.             screenPosition = { top = 95, left = 25 },               -- where on the screen it will appear (percentages) default bottom right
  232.             backgroundColor = { 0, 0, 0 },                          -- the colour of the huds background
  233.             backgroundColorTransparency = 0.5,                      -- the transparency of the huds background
  234.  
  235.             backgroundBorderTransparency = 1.0,                     -- background outline transparency (0.0 hides it, max 1.0)
  236.             backgroundBorderColor = { 0, 0, 0 },                    -- background outline colour
  237.             backgroundBorderWidth = "0px",                          -- background outline width
  238.  
  239.             backgroundcornerRadius = "0.5rem",                      -- background corner radius
  240.  
  241.             backgroundShadowTransparency = 0.5,                     -- background shadow/glow transparency (0.0 hides it, max 1.0)
  242.             backgroundShadow = '0px 0px 10px',                      -- background shadow/glow location (0px 0px 10px adds a 10px shadow all around the box)
  243.             backgroundShadowColor = { 0, 0, 0 },                    -- background shadow/glow colour
  244.  
  245.             backgroundInnerShadowTransparency = 0.7,                -- background shadow/glow transparency (0.0 hides it, max 1.0)
  246.             backgroundInnerShadow = 'inset 0px 0px 10px',           -- background shadow/glow location (0px 0px 10px adds a 10px shadow all around the box)
  247.             backgroundInnerShadowColor = { 0, 0, 0 },               -- background shadow/glow colour
  248.  
  249.             iconGlow = true,                                        -- Toggle icons glow
  250.             iconSize = 0.35,                                        -- How big the icons will be (attempts to scale between resolutions)
  251.             iconColorMax = { 0, 255, 0 },                           -- The colour icons will be if full health
  252.             iconColorMin = { 255, 0, 0 },                           -- The colour icons will be if a low health
  253.  
  254.             iconBoxShadow = false,                                  -- Adds shadow for each image box
  255.             iconBoxShadowStyle = 'inset black 0px 0px 50px',        -- Fine tune the shadow here
  256.             iconBoxShadowCorners = "0.5rem",                        -- Add rounded corners to the box
  257.  
  258.             font = 'DigitalFont',
  259.  
  260.             inlayTextSize = '1.4vh',                                -- Text size of the text that appears over icons (by default on nos boost level)
  261.             inlayTextPosition = { top = "42%", left = "0.2rem" },   -- Specific placement of the text
  262.             inlayTextColor = { 255, 255, 255 },                     -- Colour of the text
  263.             inlayTextGlow = '0 0 3px #000000, 0 0 5px #ffffff',     -- Specific CSS of the glow/shadow
  264.  
  265.             mileagetextSize = '2.3vh',                              -- Milage text size
  266.             mileagetextColor = { 255, 255, 255 },                   -- Milage Colour
  267.             mileagetextGlow = '0 0 10px',                           -- Glow/Shadow effect
  268.             mileagetextGlowColor = { 255, 255, 255 },               -- Glow/Shadow effect colour
  269.             mileagetextGlowTransparency = 1.0,                      -- Glow/Shadow effect transparency
  270.         },
  271.  
  272.         speedCustomisation = {
  273.             SpeedLocation = { top = '80%', left = '28%' },          -- Location of the whole speedometer on the screen
  274.             SpeedSize = '14vh',
  275.  
  276.             -- Both the Speedometer and RPM settings
  277.             BorderWidth = '0.15vh',                                 -- The semi-circle border width
  278.             BorderCol = { 255, 255, 255 },                          -- The semi-circle border colour
  279.             BorderStyle = 'solid',                                  -- The semi-circle border tyle ('solid', 'dashed', 'dotted')
  280.             BorderTrans = 1.0,                                      -- The semi-circle border transparency
  281.  
  282.             BackgroundCol = { 0, 0, 0 },                            -- Background colour
  283.             BackgroundTrans = 0.6,                                  -- Background Transparency
  284.             BackgroundShadow = '0 0 10px',                          -- Background Shadow style
  285.             BackgroundShadowColor = { 0, 0, 0 },                    -- Background Shadow colour
  286.             BackgroundShadowTrans = 0.8,                            -- Background Shadw Transparency
  287.  
  288.             font = 'DigitalFont',
  289.             TextColour = 'rgba(255, 255, 255)',                     -- Colour of speed text around the meter
  290.             TextSize = '1.0vh',                                     -- Size of text around the meter
  291.             ColourHigh = 'rgba(255, 0, 0)',                         -- Colour the text should be if classed as "High"
  292.  
  293.             MarkerColour = {255, 255, 255},             -- Colour of text if classed as "High"
  294.             MarkerColourHigh = {255, 0, 0},             -- Colour of marker if classed as "High", if not use BorderCol
  295.             MarkerTrans = 1.0,
  296.  
  297.             SpeedHighlight = false,                                 -- Hightlight the text on the speedometer the faster you go
  298.             HighSpeedHighlight = true,                              -- Highlight high speeds on the speedometer
  299.  
  300.             ShowDigitalSpeed = false,                               -- Shows digital speed numbers on the speedometer
  301.             digitalSpeedLoc = { top = 40, left = 17 },              -- Location of the numbers (defaults to the center)
  302.             digitalSpeedSize = '3vh',                               -- The font size
  303.  
  304.             NeedleType = 1,                                         -- Change between 1, 2, 3
  305.  
  306.             SpeedNeedleLength = '7.0vh',                            -- Speedometer Needle Length
  307.             SpeedNeedleWidth = '0.6vh',                             -- Speedometer Needle Width
  308.             SpeedNeedleCol = { 255, 0, 0 },                         -- Speedometer Needle Colour
  309.             SpeedNeedleTrans = 0.9,                                 -- Speedometer Needle Transparency
  310.             SpeedNeedleShadow = '0px 0px 5px',                      -- Speedometer Needle Shadow Style
  311.             SpeedNeedleShadowCol = { 0, 0, 0 },                     -- Speedometer Needle Shadow Colour
  312.             SpeedNeedleShadowTrans = 0.9,                           -- Speedometer Needle Shadow Transparency
  313.  
  314.             showRpmMeter = true,                                    -- Show RpmMeter
  315.             rpmMeterLocation = 'translate(8.5vh, 4.5vh)',           -- RPM Meter location in relation to the speedometer
  316.             rpmMeterSize = '5vh',
  317.             rpmNeedleLength = '2.5vh',                              -- Speedometer Needle Length
  318.             rpmNeedleWidth = '0.1vh',                               -- Speedometer Needle Width
  319.             rpmNeedleCol = { 255, 0, 0 },                               -- Speedometer Needle Colour
  320.             rpmNeedleTrans = 0.9,                                   -- Speedometer Needle Transparency
  321.             rpmNeedleShadow = '0px 0px 5px',                        -- Speedometer Needle Shadow Style
  322.             rpmNeedleShadowCol = { 0, 0, 0 },                       -- Speedometer Needle Shadow Colour
  323.             rpmNeedleShadowTrans = 0.9,                             -- Speedometer Needle Shadow Transparency
  324.  
  325.             showFuelMeter = true,                                   -- Show FuelMeter
  326.             fuelMeterLocation = 'translate(-8.5vh, 4.5vh)',         -- Fuel Meter location in relation to the speedometer
  327.             fuelMeterSize = '5vh',
  328.  
  329.             fuelNeedleLength = '2.5vh',                             -- Speedometer Needle Length
  330.             fuelNeedleWidth = '0.1vh',                              -- Speedometer Needle Width
  331.             fuelNeedleCol = { 255, 0, 0 },                              -- Speedometer Needle Colour
  332.             fuelNeedleTrans = 0.9,                                  -- Speedometer Needle Transparency
  333.             fuelNeedleShadow = '0px 0px 5px',                       -- Speedometer Needle Shadow Style
  334.             fuelNeedleShadowCol = { 0, 0, 0 },                      -- Speedometer Needle Shadow Colour
  335.             fuelNeedleShadowTrans = 0.9,                            -- Speedometer Needle Shadow Transparency
  336.  
  337.         },
  338.  
  339.     },
  340.     Emergency = {
  341.         requireDutyCheck = true,    -- if true, when a mechanic is online, the repair button won't show
  342.                                     -- if false, the repair option will always be available
  343.         Jobs = {
  344.             ["police"] = 0, -- Job and Job Grade
  345.             ["ambulance"] = 0,
  346.             ["risingsun"] = 0,
  347.         },
  348.         LockEmergency = false,  -- Enable this to lock make only "Emergency" (Class 18) vehicles to be used with the bench
  349.         Locations = {
  350.             { coords = vec4(467.37, -1023.02, 28.24, 269.42), prop = true, }, -- MRPD
  351.             { coords = vec4(348.01, -555.87, 28.74, 69.13), prop = true, }, -- PILLBOX
  352.             --{ coords = vec4(-1163.01, -2009.41, 13.18, 117.71), prop = true }, -- LS Custom 876 (Airport)
  353.         },
  354.         CosmeticTable = {           -- This controls what will appear in the emergency mech bench, "false" to hide it
  355.             ["Repair" ] = true,
  356.             ["Paints"] = true,
  357.             ["Horn"] = true,
  358.             ["Hood"] = true,
  359.             ["Exhaust"] = true,
  360.             ["RollCage"] = true,
  361.             ["Roof"] = true,
  362.             ["Spoiler"] = true,
  363.             ["Seats"] = true,
  364.             ["PlateHolder"] = true,
  365.             ["VanityPlate"] = true,
  366.             ["CustomPlate"] = true,
  367.             ["Skirts"] = true,
  368.             ["RightFender"] = true,
  369.             ["LeftFender"] = true,
  370.             ["Liverys"] = true,
  371.             ["OldLiverys"] = true,
  372.             ["RoofLiverys"] = true,
  373.             ["Grille"] = true,
  374.             ["FrontBumper"] = true,
  375.             ["BackBumper"] = true,
  376.             ["TrimA"] = true,
  377.             ["TrimB"] = true,
  378.             ["Trunk"] = true,
  379.             ["EngineBlock"] = true,
  380.             ["Filter"] = true,
  381.             ["Struts"] = true,
  382.             ["Hydraulics"] = true,
  383.             ["ArchCovers"] = true,
  384.             ["FuelTank"] = true,
  385.             ["Aerials"] = true,
  386.             ["Extras"] = true,
  387.             ["Ornaments"] = true,
  388.             ["DashBoard"] = true,
  389.             ["Dials"] = true,
  390.             ["DoorSpeakers"] = true,
  391.             ["SteeringWheels"] = true,
  392.             ["ShifterLeavers"] = true,
  393.             ["Plaques"] = true,
  394.             ["Speakers"] = true,
  395.             ["WindowTints"] = true,
  396.             ["Rims"] = true,
  397.         },
  398.         PreformaceTable = {
  399.             ["Engine"] = false,
  400.             ["Brakes"] = false,
  401.             ["Suspension"] = false,
  402.             ["Transmission"] = false,
  403.             ["Armour"] = false,
  404.             ["Turbo"] = false,
  405.             ["Harness"] = false,
  406.         }
  407.     },
  408.  
  409.     ManualRepairs = { -- Player vehicle repair config
  410.         ManualRepairCost = 2000,    -- Set this to a high amount to get people to talk to mechanics rather than use automated systems
  411.         ManualRepairCostBased = false,  -- Set this to true if you want the cost to ALWAYS be the amount set at "ManualRepairCost"
  412.                                     -- Set this to false if you want it to "ManualRepairCost" to be the max and cost is calculated by damage
  413.  
  414.         ManualRepairBased = true,   -- Set this to true if you want to set the repair cost to be based on Core.Shared.Vehicle costs(overrides the cost setting above)
  415.         ManualRepairPercent = 5,    -- Set this to the percent of the vehicle price (Only works if ManualRepairBased is true)
  416.                                     -- Default is 5% because $200,000 would be $10,000 max to repair by this system
  417.                                     -- 5% of a $10,000 car would be $500
  418.  
  419.         repairEngine = true,        -- Set this to true if automated repairs also repair engine (not just body)
  420.         repairExtras = true,        -- Set this to true for automated repairs to also repair extra damages (if mechanicjob is available and repairEngine is true)
  421.  
  422.         requireDutyCheck = true,    -- if set to true, the repair bench will only be usable if there are no mechanics in the server ON DUTY
  423.         dutyMessage = "On a un mécano en service au garage!", -- This is the notification that pops up when a person tries to repair when a mechanic is on duty, choose what you want for it.
  424.  
  425.         repairAnimate = false,      -- Better than staring at a progress bar, "damaged" parts will be removed and replaced. Making it look more authentic
  426.         repairSpeed = 1500,         -- The time between each task while using repairAnimate. 1500 Seems to be a reasonable time for it
  427.     },
  428.  
  429.     antiLag = {
  430.         antiLagDis = 10.0,          -- Max distance players can hear antiLag explosions
  431.         maxAudio = 0.05,                -- This is adjusted by distance to enchance the effect, this is the max volume
  432.     },
  433.  
  434.     NOS = { -- NOS STUF
  435.         JobOnly = false,            -- Only allow job roles to change NOS
  436.         NosRefillCharge = 1000,     -- amount in dollars required to refill a nos can
  437.  
  438.         NosBoostPower = {           -- NOS boost acceleration power
  439.             20.0, -- Level 1
  440.             35.0, -- Level 2
  441.             50.0, -- Level 3
  442.         },
  443.  
  444.         NitrousUseRate = 0.3,       -- How fast the nitrous drains (halved for level1, doubled for level3)
  445.  
  446.         NitrousCoolDown = 30,       -- 7 Seconds for nitrous cooldown, set to 0 to disable
  447.         CooldownConfirm = true,     -- Will play a confirmation beep when cooldown is done
  448.  
  449.         nosDamage = true,           -- This enables NOS causing damage to engine while boosting
  450.         boostExplode = true,        -- If boosting too long at level 3 boost, tank will explode.
  451.  
  452.         -- Effects
  453.         PurgeDis = 40.0,            -- How far from the vehicle players can see Purge Smoke
  454.  
  455.         EnableFlame = true,         -- True adds exhaut flame effects while boosting
  456.         FlameDis = 25.0,            -- How far from the vehicle players can see Boost flames
  457.  
  458.         EnableTrails = true,        -- True adds taillight effects while boosting
  459.  
  460.         EnableScreen = true,        -- True adds screen effects while boosting
  461.  
  462.         skillcheck = "ox_lib",      -- When adding Nos to a vehicle there are three script options available
  463.                                     -- "qb-skillbar" "qb-lock" "ps-ui" "ox_lib"
  464.  
  465.         explosiveFail = true,       -- Better not fail that skill check. (1 in 10 chance of explosion)
  466.         explosiveFailJob = true,    -- if true, mechanics can trigger an explosion on failure to add nos
  467.                                     -- if false, mechanics will never trigger an explosion
  468.  
  469.         HandlingChange = false,     -- Changes handling during nos boost, Disable this if affecting other scripts
  470.     },
  471.     Discord = { -- Discord preview receipts
  472.         -- You will need to set custom info in each job location in locations.lua
  473.         -- But for the ones you don't add info to, it will default to these numbers
  474.         DiscordPreview = true,  -- Set to true if you want to use discord receipts
  475.         DiscordDefault = "https://discord.com/api/webhooks/1304124187685818430/7df8fstyypEZ_EhnvVYl05NjmvjsTRQ5KlvBwniffjxuP7PmxgygiNyVTy32pzU1Blt-",       -- Set this to the default channel API link if one isn't set for a location
  476.         DiscordColour = 16753920,   -- This is the default "decimal" number colour
  477.     },
  478. --DuctTape Controllers
  479.     DuctTape = {
  480.         DuctSimpleMode = true,      -- This will repair the engine to the max (set below)
  481.         MaxDuctEngine = 450.0,      -- 450.0 is 45% health, this will be the max amount that it can be repaired to
  482.         DuctAmountEngine = 100.0,   -- Repairs the engine by 10% each use
  483.  
  484.         DuctTapeBody = true,        --Enable if you want duct tape to repair body at the same time as engine
  485.         MaxDuctBody = 450.0,
  486.         DuctAmountBody = 100.0,     -- Repairs the engine by 10% each use
  487.  
  488.         RemoveDuctTape = true,      --If Enabled it will remove 1 duct after use. If false it will be constantly reusable
  489.     },
  490. }
  491.  
  492. -- No touch --
  493. Crafting, Stores, VehicleNitrous, VehicleStatus, purgemode, purgeSize, boostLevel = {}, {}, {}, {}, true, 0.4, 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement