📄Config

Config = {}

Config.Core = "qb-core" -- Your qb-core folder name
Config.Notify = "qb" -- "qb" or "okok" or "ox" ( open code on config_functions.lua )
Config.Target = "qb" -- "qb" or "ox"
Config.Inventory = "qb" -- "qb" or "ox"
Config.HelpText = "ox" -- "qb" or "ox" ( open code on config_functions.lua )
Config.VehicleKeys = "qb" -- "qb" or "qs" or "renewed" or "jaksam" ( open code on config_functions.lua )
Config.Fuel = "LegacyFuel" -- "LegacyFuel" or "okokFuel" or "ox_fuel" or "ti_fuel" or "qs-fuel" ( open code on config_functions.lua )
Config.mInsurance = false -- Use m-Insurance? ( Give registration when player buy vehicle )

Config.Email = {
    enable = true, -- Enable email to player when buy a new vehicle?
    phone = "qb-phone", -- Phones: "qb-phone" or "qs-smartphone" or "gksphone"
}

Config.AddonVehicles = {
    extension = "", -- png, webp, jpg
    url = "", -- Url where you have images of vehicles
}

Config.VehicleshopLocations = { -- Possible locations where ped can sapwn
    [1] = { coords = vector3(-30.82, -1096.48, 27.27), heading = 101.40, pedModel = "s_m_m_fiboffice_01" },
}

Config.BuyVehicle = { -- Location where vehicle spawn when player buy
    spawnVehicle = vector4(-23.37, -1093.73, 27.31, 340.24),
}

-- Test Drive Options
Config.TestDriveTime = 10 -- 10 Seconds
Config.TestDriveLocations = { -- Possible spawn points
    Vehicles = {
        [1] = vector4(-1694.55, -2927.08, 13.94, 238.9),
        [2] = vector4(-1698.62, -2930.15, 13.94, 242.36),
        [3] = vector4(-1700.33, -2935.44, 13.94, 242.78),
    },
    Boats = {
        [1] = vector4(-724.21, -1328.56, 0.12, 231.87),
        [2] = vector4(-729.92, -1335.81, 0.16, 228.36),
        [3] = vector4(-735.91, -1342.03, 0.14, 228.66),
    },
    Airplanes = {
        [1] = vector4(-1621.95, -2978.66, 13.94, 240.65),
        [2] = vector4(-1589.64, -2997.49, 13.95, 238.86),
        [3] = vector4(-1557.59, -3015.9, 13.95, 238.89)
    }
}

Config.EnableShowroom = true -- Enable showroom?
Config.BuyVehiclesShowroom = true -- Enable players buy vehicles on showroom?
Config.Showroom = {
    [1] = { coords = vector3(-37.12, -1093.36, 27.3),    heading = 112.58, vehicle = "t20"},
    [2] = { coords = vector3(-42.25, -1101.61, 27.3),    heading = 291.36, vehicle = "baller7"},
    [3] = { coords = vector3(-47.73, -1091.57, 27.3),    heading = 187.34, vehicle = "windsor"},
    [4] = { coords = vector3(-54.74, -1096.86, 27.3),    heading = 297.38, vehicle = "dominator7"},
    [5] = { coords = vector3(-49.8, -1083.54, 27.3),     heading = 158.57, vehicle = "warrener"},
}

Config.SellingVehicles = {
    enable = true, -- Enable sell vehicles to npc?
    location = { coords = vector3(-7.83, -1096.46, 27.01), heading = 71.16, pedModel = "s_m_m_fiboffice_01" },
    sellingPercentage = 20, -- 20% Player lose if sells to this npc
    paymentType = "bank", -- "bank" or "cash" player receive the money
}

Last updated