📃Configs

Config = {}

-- Options: "QBCore", "ESX"
Config.Framework = "QBCore"

-- Core object name, if you use ESX ignore this
Config.Core = "qb-core"

-- Options: "ox_lib", "lation_ui"
Config.Display = "lation_ui"

-- This setting limits how many vehicles can be exposed at the same time
Config.MaxExposedVehicles = 5

-- If true, when you create a new car shop, it will check if the job exists in the jobs.lua file
-- If not found, it will create a missing_jobs.txt file with the missing jobs
Config.CheckJobs = true

-- Enable debug prints
Config.Debug = true

-- Distance for qb-target/ox_target interactions
Config.TargetDistance = 2.5

-- Freeze exposed vehicles to avoid them from being moved
Config.FreezeExposedVehicles = true

-- Lock exposed vehicles' doors
Config.LockExposedVehicles = true

-- If true, when a player buys a vehicle, it will be spawned automatically (On spot garage settings of the used car shop)
Config.BuyAndSpawn = true

-- If true, the script will create the database tables automatically if they don't exist
Config.AutoDatabase = true

-- Language "en" or "pt"
Config.Language = "en"

-- Command
Config.Command = "usedcarsales_creator"
Config.CommandDesc = "Open the Used Car Shop Creator menu"

Last updated