Config = {} -- Integrations (recommended to leave as "auto") Config.Framework = "ESX" -- or "QBCore", "Qbox", "ESX" Config.Inventory = "ox_inventory" -- or "ox_inventory", "qb-inventory", "esx_inventory", "codem-inventory", "qs-inventory", "jaksam_inventory" Config.Notifications = "ox_lib" -- or "default", "ox_lib", "lation_ui", "ps-ui", "okokNotify", "nox_notify" Config.ProgressBar = "ox-bar" -- or "ox-circle", "ox-bar", "lation_ui", "qb" Config.SkillCheck = "ox" -- or "ox", "qb", "lation_ui" Config.DrawText = "ox_lib" -- or "jg-textui", "ox_lib", "okokTextUI", "ps-ui", "lation_ui", "qb" Config.SocietyBanking = "bcs_companymanager" -- or "okokBanking", "fd_banking", "Renewed-Banking", "tgg-banking", "wasabi_banking", "qb-banking", "qb-management", "esx_addonaccount" Config.Menus = "ox" -- or "ox", "lation_ui" -- Localisation Config.Locale = "en" Config.NumberAndDateFormat = "en-US" Config.Currency = "EUR" -- Set to false to use built-in job system Config.UseFrameworkJobs = true -- Mechanic Tablet Config.UseTabletCommand = false -- set to false to disable command Config.TabletConnectionMaxDistance = 5.0 -- Shops Config.Target = "ox_target" -- (shops/stashes only) "qb-target" or "ox_target" Config.UseSocietyFund = true -- set to false to use player balance Config.PlayerBalance = "bank" -- or "bank" or "cash" -- Skill Bars Config.UseSkillbars = true -- set to false to use progress bars instead of skill bars for installations Config.ProgressBarDuration = 10000 -- if not using skill bars, this is the progress bar duration in ms (10000 = 10 seconds) Config.MaximumSkillCheckAttempts = 3 -- How many times the player can attempt a skill check before the skill check fails Config.SkillCheckDifficulty = { "easy", "easy", "easy", "easy", "easy" } -- for ox only Config.SkillCheckInputs = { "w", "a", "s", "d" } -- for ox only -- Servicing Config.EnableVehicleServicing = true Config.ServiceRequiredThreshold = 20 -- [%] if any of the servicable parts hit this %, it will flag that the vehicle needs servicing Config.ServicingBlacklist = { "police", "police2" -- Vehicles that are excluded from servicing damage } -- Nitrous Config.NitrousScreenEffects = true Config.NitrousRearLightTrails = true -- Only really visible at night Config.NitrousPowerIncreaseMult = 2.0 Config.NitrousDefaultKeyMapping = "RMENU" Config.NitrousMaxBottlesPerVehicle = 3 -- The UI can't really handle more than 7, more than that would be unrealistic anyway Config.NitrousBottleDuration = 10 -- [in seconds] How long a nitrous tank lasts Config.NitrousBottleCooldown = 5 -- [in seconds] How long until player can start using the next bottle Config.NitrousPurgeDrainRate = 0.1 -- purging drains bottle only 10% as fast as actually boosting - set to 1 to drain at the same rate -- Stancing Config.StanceMinSuspensionHeight = -0.3 Config.StanceMaxSuspensionHeight = 0.3 Config.StanceMinCamber = 0.0 Config.StanceMaxCamber = 0.5 Config.StanceMinTrackWidth = 0.5 Config.StanceMaxTrackWidth = 1.25 Config.StanceNearbyVehiclesFreqMs = 500 -- Repairs Config.AllowFixingAtOwnedMechanicsIfNoOneOnDuty = false Config.DuctTapeMinimumEngineHealth = 100.0 Config.DuctTapeEngineHealthIncrease = 150.0 -- Tuning Config.TuningGiveInstalledItemBackOnRemoval = false -- Locations Config.UseCarLiftPrompt = "[E] Uporabi avtomobilsko dvigalko" Config.UseCarLiftKey = 38 Config.CustomiseVehiclePrompt = "[E] Prilagodi vozilo" Config.CustomiseVehicleKey = 38 -- Update vehicle props whenever they are changed [probably should not touch] -- You can set to false to leave saving any usual props vehicle changes such as -- GTA performance, cosmetic, colours, wheels, etc to the garage or other scripts -- that persist the props data to the database. Additional data from this script, -- such as engine swaps, servicing etc is not affected as it's saved differently Config.UpdatePropsOnChange = true -- Stops vehicles from immediately going to redline, for a slightly more realistic feel and -- reduced liklihood of wheelspin. Can make vehicle launch (slightly) slower. -- No effect on electric vehicles! -- May not work immediately for all vehicles; see: https://docs.jgscripts.com/mechanic/manual-transmissions-and-smooth-first-gear#smooth-first-gear Config.SmoothFirstGear = true -- If using a manual gearbox, show a notification with key binds when high RPMs -- have been detected for too long Config.ManualHighRPMNotifications = true -- Misc Config.UniqueBlips = true Config.ModsPricesAsPercentageOfVehicleValue = true -- Enable pricing tuning items as % of vehicle value - it tries jg-dealerships, then QBShared, then the vehicles meta file automagically for pricing data Config.ModsPricesIncludeFixedPrice = false -- When using vehicle value pricing, add each mod's fixed price on top of its percentVehVal price Config.AdminsHaveEmployeePermissions = false -- admins can use tablet & interact with mechanics like an owner Config.MechanicEmployeesCanSelfServiceMods = false -- set to true to allow mechanic employees to bypass the "place order" system at their own mechanic Config.FullRepairAdminCommand = "vfix" Config.MechanicAdminCommand = "mechanicadmin" Config.ChangePlateDuringPreview = "PREVIEW" Config.RequireManagementForOrderDeletion = false Config.UseCustomNamesInTuningMenu = false Config.DisableNoPaymentOptionForEmployees = false -- Mechanic Locations Config.MechanicLocations = { hayes = { type = "owned", job = "hayes", jobManagementRanks = {4}, logo = "hayes.png", commission = 0, -- %, 10 = 10% locations = { { coords = vector3(267.7382, -1815.6194, 26.8480), size = 10.5, showBlip = false, }, }, blip = { id = 446, color = 47, scale = 0.7 }, mods = { repair = { enabled = true, price = 340, percentVehVal = 0.01 }, performance = { enabled = true, price = 500, percentVehVal = 0.01, priceMult = 0.1 }, cosmetics = { enabled = false, price = 500, percentVehVal = 0.01, priceMult = 0.1 }, stance = { enabled = false, price = 500, percentVehVal = 0.01 }, respray = { enabled = true, price = 500, percentVehVal = 0.01 }, wheels = { enabled = true, price = 500, percentVehVal = 0.01, priceMult = 0.1 }, neonLights = { enabled = true, price = 500, percentVehVal = 0.01 }, headlights = { enabled = true, price = 500, percentVehVal = 0.01 }, tyreSmoke = { enabled = true, price = 500, percentVehVal = 0.01 }, bulletproofTyres = { enabled = false, price = 500, percentVehVal = 0.01 }, extras = { enabled = false, price = 500, percentVehVal = 0.01 } }, tuning = { engineSwaps = { enabled = false, requiresItem = true }, drivetrains = { enabled = false, requiresItem = true }, turbocharging = { enabled = false, requiresItem = true }, tyres = { enabled = true, requiresItem = true }, brakes = { enabled = true, requiresItem = true }, driftTuning = { enabled = false, requiresItem = true }, gearboxes = { enabled = false, requiresItem = true }, }, carLifts = { -- only usable by employees vector4(268.5171, -1810.6680, 26.8480, 318.4628) }, }, lscustoms = { type = "owned", job = "lscustoms", jobManagementRanks = {4}, logo = "ls_customs.png", commission = 0, -- %, 10 = 10% locations = { { coords = vector3(1145.9653, -783.0663, 57.6077), size = 10.5, showBlip = false, }, }, blip = { id = 446, color = 47, scale = 0.7 }, mods = { repair = { enabled = true, price = 340, percentVehVal = 0.01 }, performance = { enabled = false, price = 500, percentVehVal = 0.01, priceMult = 0.1 }, cosmetics = { enabled = true, price = 500, percentVehVal = 0.01, priceMult = 0.1 }, stance = { enabled = false, price = 500, percentVehVal = 0.01 }, respray = { enabled = true, price = 500, percentVehVal = 0.01 }, wheels = { enabled = true, price = 500, percentVehVal = 0.01, priceMult = 0.1 }, neonLights = { enabled = true, price = 500, percentVehVal = 0.01 }, headlights = { enabled = true, price = 500, percentVehVal = 0.01 }, tyreSmoke = { enabled = true, price = 500, percentVehVal = 0.01 }, bulletproofTyres = { enabled = true, price = 500, percentVehVal = 0.01 }, extras = { enabled = true, price = 500, percentVehVal = 0.01 } }, tuning = { engineSwaps = { enabled = false, requiresItem = true }, drivetrains = { enabled = false, requiresItem = true }, turbocharging = { enabled = false, requiresItem = true }, tyres = { enabled = true, requiresItem = true }, brakes = { enabled = true, requiresItem = true }, driftTuning = { enabled = false, requiresItem = true }, gearboxes = { enabled = false, requiresItem = true }, }, carLifts = { -- only usable by employees vector4(1151.3453, -783.7571, 57.6078, 179.0947) }, } } -- Add electric vehicles to disable combustion engine features ----------------------------------------------------------------------- -- PLEASE NOTE: In b3258 (Bottom Dollar Bounties) and newer, electric -- vehicles are detected automatically, so this list is not used! Config.ElectricVehicles = { "Airtug", "buffalo5", "caddy", "Caddy2", "caddy3", "coureur", "cyclone", "cyclone2", "imorgon", "inductor", "iwagen", "khamelion", "metrotrain", "minitank", "neon", "omnisegt", "powersurge", "raiden", "rcbandito", "surge", "tezeract", "virtue", "vivanite", "voltic", "voltic2", } -- Nerd options Config.DisableSound = false Config.AutoRunSQL = true Config.DebugZones = false -- Logging -- Choose destination(s) per log type: "console", "ox_lib", or "discord". -- Set enabled = false, or destinations = false, to disable a log type. -- Discord webhook URLs are set in config.webhooks.lua. -- Learn more: https://docs.jgscripts.com/mechanic/debug-and-event-logging Config.Logs = { LOG = { enabled = false, destinations = { "console" } }, EVENT = { enabled = false, destinations = { "ox_lib" } }, SECURITY = { enabled = false, destinations = { "console", "ox_lib" } } }