⚙️Configuration

Detailed explanation of the config file to adapt the resource to your player needs.

Config.lua

Config.Framework    = "qbcore"
Config.Debug    = false
Config.Fuel         = 'LegacyFuel'
Config.Currency     = "$" -- €, £
Config.UseSteamName = false -- Only for QBCere
Config.ReturnBonus  = 5 --$
Config.BlipSprite = 672
Config.BlipColor = 1
Config.BlipText = "Car Rental"
Config.VehicleList = {
    [1]     = {id = 1, name = "Glendale",   image = "https://docs.fivem.net/vehicles/glendale.webp", price = 800, category = "Sedans"},
    [2]     = {id = 2, name = "Seminole",   image = "https://docs.fivem.net/vehicles/seminole.webp", price = 600, category = "SUVs"},
    [3]     = {id = 3, name = "Ingot",      image = "https://docs.fivem.net/vehicles/ingot.webp", price = 600, category = "Sedans"},
    [4]     = {id = 4, name = "Speedo",     image = "https://docs.fivem.net/vehicles/speedo.webp", price = 1400, category = "Vans"},
    [5]     = {id = 5, name = "Blista",     image = "https://docs.fivem.net/vehicles/blista.webp", price = 800, category = "Compacts"},
    [6]     = {id = 6, name = "Club",       image = "https://docs.fivem.net/vehicles/club.webp", price = 850, category = "Compacts"},
}
Config.Locations = {
    [1] = {
        NPCModel = "a_m_y_business_03",
        NPCCoords = vector4(-747.63, -1056.85, 11.01, 297.25),
        CarSpawn = vector4(-744.55, -1055.49, 12.09, 206.29)
    }
}

Last updated