configuration/config.lua

 Config = {

    -- What framework are you using? "esx" or "qb"
    Framework = "esx",

    -- What core are you using? Default is "es_extended" for ESX and "qb-core" for QB-Core
    Engine = "es_extended",

     -- Set to true to log to Discord, else set to false
    LogToDiscord = true, 

    -- The name of the database table where the vehicles are stored
    GarageDatabaseName = "owned_vehicles",

    -- Time in seconds for the test drive
    TestDriveTime = 30,

    -- Configuration regarding the Car Dealer
    Cardealer = {

        -- The name of the car dealer
        Name = "Platina Cars",

        -- The location of the car dealer
        Location = vector3(-56.0714, -1117.6667, 26.4334),

        -- The blip ID for the car dealer
        BlipID = 225,

        -- The blip color for the car dealer
        BlipColor = 5,

        -- The blip scale for the car dealer
        BlipScale = 0.8,

        -- Coordinates on where the vehicle will spawn when test driving
        TestDrive = {
            Location = vector3(-68.3936, -1106.0682, 26.0493), 
            Heading = 67.3869
        },

        -- Coordinates on where the vehicle will spawn when the vehicle is purchased
        CarSpawn = {
            Location = vector3(-68.3936, -1106.0682, 26.0493),
            Heading = 67.3869
        },
    },

    -- Add car types to the filtering function. "title" may be changed to your languages but not value
   CarFilters = {
        { title = "Sedan", value = "Sedan", sort = false },
        { title = "Coupe", value = "Coupe", sort = false },
        { title = "SUV", value = "SUV", sort = false },
        { title = "Sport", value = "Sport", sort = false },
        { title = "Super", value = "Super", sort = false },
        { title = "Convertible", value = "Convertible", sort = false },
        { title = "High - Low", value = "High-Low", sort = true },
        { title = "Low - High", value = "Low-High", sort = true },
        { title = "Newest cars", value = "Newest", sort = true }
    }
}

Last updated