Configuration

This is only an example of basic configuration, configure the resource to your needs.

Config = Config or {}
Locales = Locales or {}

Config.Language = 'en'

--[[ 
    Framework:
        'esx'
        'qb'
    
    Inventory:
        'esx_inventory'
        'qs-inventory'
        'qb-inventory'
        'ox_inventory'
        'mf-inventory'
        'cheeza_inventory'
        'core_inventory'
    
    Wardrobe:
        'esx_skin',
        'qb-clothing'
        'raid_clothes'
        'rcore_clothes'
        'ak47_clothing'
        'illenium-appearance'

    The qs-garages and qb-garages options are not editable, so they are selectable but not editable.
    Remember that you can modify them and even create more yourself.
]]

Config.Framework = 'qb'

Config.Inventory = 'qs-inventory'
Config.Wardrobe = 'illenium-appearance'


--[[ 
    General configuration!
]]

Config.GiveVanCommand = 'givevankey' -- Command to give permissions to another player [command id])

Config.LockpickingItem = 'van_lockpick' -- Item to lockpick cars, stash or wardrobes.
Config.LockpickBrokenChance = 50 -- Percentage for item lockpick to be broken.

Config.StartAlarm = true -- Alarm sound, if you do not enable this, the dispatch will not appear.
Config.StartAlarmChance = 25 -- Percentage for the alarm to sound.

Config.ReqPolice = true -- Do you want police in your city to enable robberies?
Config.ReqPoliceCount = 5 -- Minimum police to start a robbery.
Config.ReqJobPolice = 'police' -- Police job name.
Config.RefreshPolice = 1000 -- Ammount of time to check por police count again, higher for more performance, don't use below 1000ms.


--[[  
    Smartphone compatibility!
]]

Config.Smartphone = false -- If you enable this function, you will have addons in givevankey command, in police dispatch and when trying to steal a motorhome.
Config.SmartphoneBattery = false -- Enables or disables the battery spot, but requires enabling Config.Smartphone.


--[[  
    Vehicle configurations!
]]

Config.Vehicles = { -- Vehicles that will use a motorhome system inside.
    [`cararv`] = {
        stashOffset = vec3(-0.5, -2.0, 0.0), -- Stash offset location.
        wardrobeOffset = vec3(-0.3, -5.5, 0.4), -- Wardrobe offset location.
        doorOffset = vec3(1.3, -2.0, 0.0), -- Door offset location.
        chargeOffset = vec3(0.5, -4.3, 0.0), -- Charger offset location (Only if you use qs-smartphone).
        doorType = "5"
    },
    [`guardianrv`] = {
        stashOffset = vec3(-0.3, -5.0, 0.0),
        wardrobeOffset = vec3(0.0, -2.0, 0.0),
        doorOffset = vec3(1.3, -3.2, 0.0),
        chargeOffset = vec3(-0.2, -3.2, 0.0),
        doorType = "5"
    },
    [`sandkingrv`] = {
        stashOffset = vec3(-0.7, -2.5, 0.5),
        wardrobeOffset = vec3(0.0, -4.5, 0.5),
        doorOffset = vec3(1.3, -2.5, 0.0),
        chargeOffset = vec3(0.6, -1.1, 0.4),
        doorType = "3"
    },
    [`sandroamer`] = {
        stashOffset = vec3(-0.5, -1.5, 0.0),
        wardrobeOffset = vec3(-0.3, -4.5, 0.0),
        doorOffset = vec3(1.3, -1.7, 0.0),
        chargeOffset = vec3(0.5, -4.0, 0.0),
        doorType = "5"
    },
    -- Add the vehicles with interiors that you want.
}


--[[ 
    Debug mode, you can see all kinds of prints/logs using debug, 
    but it's only for development.
]]

Config.Debug = false

Last updated