⚙️Configuration

Key
Description
Example

Config.Framework

"auto", "esx", "qb"

"auto"

Config.Language

Locale key from locales/*.lua

"en"

Config.JobName

Mechanic job name

"taxi" or "mechanic"

Config.PaintPrice

Base price for paint ops

50

Config.SocietyName

Society account name

"society_mechanic"

Config.UseSocity

If mechanic, charge society instead of player

true

Config.GoInSoicity

If self-tuning, income goes to society

true

Spelling in keys is intentional: use exactly UseSocity and GoInSoicity.

HUD & Notifications

Provide your own functions or set UseCustomNotify/UseCustomHelpNotify to false for fallbacks.

Config.HideHud = function() exports["risk-hud"]:show(false) end
Config.showHud = function() exports["risk-hud"]:show(true) end

Config.UseCustomNotify = true
Config.UseCustomHelpNotify = true

Config.Functions = {
  notify = function(ntype, title, text, time)
    exports["risk-notify"]:Notify({ type = ntype or "info", title = "LS CUSTOMS", message = text, duration = 10000 })
  end,
  helpnotify = function(key, text)
    exports["risk-notify"]:HelpNotify(key, text)
  end,
}

Modes

Config.TunerSettings = {
  type = "both", -- "self", "both", "mechanic"
  both = { enableMechanicRequirement = true, minMechanic = 1 }
}
  • mechanic: only mechanics can open and do full upgrades.

  • self: everyone can tune fully.

  • both: non-mechanics are limited to cosmetics when mechanics ≥ minMechanic. If fewer mechanics, self-tuning opens for players. Mechanics always have full access.

Blips & Markers

Config.Blips.normal = { visible=true, name="Los Santos Custom", sprite=72, color=5, scale=0.7 }
Config.Blips.tuner  = { visible=true, name="Tuner", sprite=72, color=83, scale=0.8 }

Config.Marker = { type=0, scale={x=.6,y=.6,z=.6}, color={r=255,g=255,b=0}, rotate=false }
  • Zones[i].selftuner = true marks a public tuner location.

  • Zones[i].hideblip = true hides that blip by default.

Zones

Config.Zones = {
  { coord = vector3(-318.86, -131.44, 39.75), selftuner=false, hideblip=true },
  { coord = vector3(-316.73, -125.25, 39.75), selftuner=false, hideblip=false },
  { coord = vector3(731.81, -1088.82, 21.73), selftuner=true,  hideblip=false },
  -- more...
}
  • Upgrade categories use price = {level1, level2, ...}. If vehicle has fewer levels, last price entry is reused.

  • Cosmetics use flat price per selection.

  • Paint/Xenon/Neon/Wheel color have dedicated prices (Config.PaintPrice, Menus.xenonColor.price, etc.).

Last updated