Config = {}
-- Integrations (recommended to leave as "auto")
Config.Framework = "auto" -- or "QBCore", "Qbox", "ESX"
Config.Inventory = "auto" -- or "ox_inventory", "qb-inventory", "esx_inventory"
Config.Notifications = "auto" -- or "default", "ox_lib", "ps-ui", "okokNotify"
Config.ProgressBar = "auto" -- or "ox-circle", "ox-bar", "qb"
Config.SkillCheck = "auto" -- or "ox", "qb"
Config.DrawText = "auto" -- or "jg-textui", "ox_lib", "okokTextUI", "ps-ui", "qb"
Config.SocietyBanking = "auto" -- or "okokBanking", "fd_banking", "Renewed-Banking", "qb-banking", "qb-management", "esx_addonaccount"
-- Localisation
Config.Locale = "en"
Config.NumberAndDateFormat = "en-US"
Config.Currency = "USD"
-- Set to false to use built-in job system
Config.UseFrameworkJobs = true
-- Mechanic Tablet
Config.UseTabletCommand = "tablet" -- set to false to disable command
Config.TabletConnectionMaxDistance = 4.0
-- Skill Bars
Config.UseSkillbars = false -- 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] 使用升降梯"
Config.UseCarLiftKey = 38
Config.CustomiseVehiclePrompt = "[E] 定制车辆"
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
-- 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.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 = false
-- Mechanic Locations
Config.MechanicLocations = {
lscustoms = {
type = "owned", -- 自有服务类型
job = "dujiaoshou", -- 工作名称
jobManagementRanks = {4}, -- 工作管理权限
logo = "ls_customs.png", -- 图标文件路径
locations = {
{
coords = vector3(824.8524, -958.4214, 26.4989), -- 位置坐标
size = 5.0,
showBlip = false,
},
{
coords = vector3(823.8075, -965.9629, 26.4989), -- 位置坐标
size = 5.0,
showBlip = true,
},
{
coords = vector3(823.3945, -974.0840, 26.4989), -- 位置坐标
size = 5.0,
showBlip = false,
},
{
coords = vector3(834.8203, -976.9252, 26.6462), -- 位置坐标
size = 5.0,
showBlip = true,
},
{
coords = vector3(84.1413, -1756.4185, 29.2867), -- 位置坐标
size = 5.0,
showBlip = false,
},
{
coords = vector3(89.8951, -1761.2595, 29.2842), -- 位置坐标
size = 5.0,
showBlip = true,
},
{
coords = vector3(95.2821, -1766.2394, 29.2910), -- 位置坐标
size = 5.0,
showBlip = false,
},
{
coords = vector3(101.4441, -1770.8038, 29.2835), -- 位置坐标
size = 5.0,
showBlip = true,
},
{
coords = vector3(106.9447, -1775.6949, 29.2893), -- 位置坐标
size = 5.0,
showBlip = false,
},
{
coords = vector3(113.0211, -1780.2893, 29.2888), -- 位置坐标
size = 5.0,
showBlip = true,
},
{
coords = vector3(95.5741, -1799.7483, 29.2830), -- 位置坐标
size = 5.0,
showBlip = false,
},
{
coords = vector3(91.1230, -1805.8328, 29.2865), -- 位置坐标
size = 5.0,
showBlip = true,
},
{
coords = vector3(66.0702, -1789.7036, 29.2866), -- 位置坐标
size = 5.0,
showBlip = false,
},
{
coords = vector3(60.6477, -1784.6561, 29.2882), -- 位置坐标
size = 5.0,
showBlip = true,
},
--{
-- coords = vector3(-364.78, -85.71, 38.61),
-- size = 5.0,
-- showBlip = false,
-- employeeOnly = true,
--},
},
blip = {
id = 446,
color = 47,
scale = 0.7
},
mods = {
repair = { enabled = true, price = 500, percentVehVal = 0.01 },
performance = { enabled = true, price = 500, percentVehVal = 0.01, priceMult = 0.1 },
cosmetics = { enabled = true, price = 500, percentVehVal = 0.01, priceMult = 0.1 },
stance = { enabled = true, 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 = true, price = 500, percentVehVal = 0.01 }
},
tuning = {
engineSwaps = { enabled = true, requiresItem = true },
drivetrains = { enabled = true, requiresItem = true },
turbocharging = { enabled = true, requiresItem = true },
tyres = { enabled = true, requiresItem = true },
brakes = { enabled = true, requiresItem = true },
driftTuning = { enabled = true, requiresItem = true },
},
carLifts = { -- 仅限员工使用
vector4(37.5871, -1782.1504, 29.1189, 48.5281)
}
},
}
-- 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.Debug = false
|