configVehicle.lua

config.openTrunkDistance               = { -- is checked when the trunk key is pressed
    default = 1.5,                        -- Default open distance
    models = {                            -- if the vehicle is too big and you have difficulty opening the trunk, you can increase the distance by adding models here
        [`tug`] = 8.0
    }
}

-- Class list: https://docs.fivem.net/natives/?_0x29439776AAA00A62
config.disabledGloveboxInBackSeatClass = {
    18,
}

config.disabledGloveboxClass           = {
    13, 8
}

config.disabledTrunkClass              = {
    13
}

config.openOwner                       = {
    trunk = {
        active = false, -- When set to true, only the vehicle owner can open the trunk.
        openNpc = true, -- When the setting is active, the trunk can be used if the vehicle doesn't belong to anyone.
    },
    glovebox = {
        active = false, -- When set to true, only the vehicle owner can open the glovebox.
        openNpc = true, -- When the setting is active, the glovebox can be used if the vehicle doesn't belong to anyone.
    }
}

-- These values will be active if maxweight and slots data is not sent in the trunk event
config.slotsMaxWeights.trunk           = {
    slots = 5,
    maxWeight = 10000
}

-- These values will be active if maxweight and slots data is not sent in the glovebox event
config.slotsMaxWeights.glovebox        = {
    slots = 1,
    maxWeight = 4000
}

config.vehicleClassSlotsMaxWeights     = {
    [0] = { slots = 10, maxWeight = 50000 },   -- Compacts
    [1] = { slots = 10, maxWeight = 100000 },  -- Sedans
    [2] = { slots = 10, maxWeight = 75000 },   -- SUVs
    [3] = { slots = 10, maxWeight = 30000 },   -- Coupes
    [4] = { slots = 10, maxWeight = 30000 },   -- Muscle
    [5] = { slots = 5, maxWeight = 10000 },    -- Sports Classics
    [6] = { slots = 5, maxWeight = 25000 },    -- Sports
    [7] = { slots = 5, maxWeight = 5000 },     -- Super
    [8] = { slots = 1, maxWeight = 2000 },     -- Motorcycles
    [9] = { slots = 10, maxWeight = 75000 },   -- Off-road
    [10] = { slots = 5, maxWeight = 10000 },   -- Industrial
    [11] = { slots = 5, maxWeight = 10000 },   -- Utility
    [12] = { slots = 25, maxWeight = 500000 }, -- Vans
    [13] = { slots = 1, maxWeight = 2000 },    -- Cycles
    [14] = { slots = 5, maxWeight = 10000 },   -- Boats
    [15] = { slots = 5, maxWeight = 10000 },   -- Helicopters
    [16] = { slots = 5, maxWeight = 10000 },   -- Planes
    [17] = { slots = 5, maxWeight = 10000 },   -- Service
    [18] = { slots = 5, maxWeight = 10000 },   -- Emergency
    [19] = { slots = 5, maxWeight = 10000 },   -- Military
    [20] = { slots = 40, maxWeight = 800000 }, -- Commercial
    [21] = { slots = 5, maxWeight = 10000 },   -- Trains
    [22] = { slots = 5, maxWeight = 10000 },   -- Open Wheel
}

config.vehicleModelSlotsMaxWeights     = {
    [`bcat`] = { slots = 200, maxWeight = 10000000 }
}

config.BackEngineVehicles              = {
    [`ninef`] = 4,
    [`adder`] = 4,
    [`vagner`] = 5,
    [`t20`] = 5,
    [`infernus`] = 4,
    [`zentorno`] = 4,
    [`reaper`] = 4,
    [`comet2`] = 4,
    [`comet3`] = 5,
    [`jester`] = 4,
    [`jester2`] = 4,
    [`cheetah`] = 5,
    [`cheetah2`] = 5,
    [`prototipo`] = 5,
    [`turismor`] = 5,
    [`pfister811`] = 5,
    [`ardent`] = 5,
    [`nero`] = 4,
    [`nero2`] = 4,
    [`tempesta`] = 5,
    [`vacca`] = 4,
    [`bullet`] = 4,
    [`osiris`] = 5,
    [`entityxf`] = 4,
    [`turismo2`] = 5,
    [`fmj`] = 4,
    [`re7b`] = 4,
    [`tyrus`] = 5,
    [`italigtb`] = 4,
    [`penetrator`] = 4,
    [`monroe`] = 4,
    [`ninef2`] = 4,
    [`stingergt`] = 5,
    [`gp1`] = 5,
    [`autarch`] = 5,
    [`tyrant`] = 4
}

Last updated