βš™οΈ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

  • 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

  • Zones[i].selftuner = true marks a public tuner location.

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

Zones

  • 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