DİVİNG

Select a Framework Currently supported framework systems qb-core, es_extended, qbx_core

Config.Framework = 'qb-core'

Change Locale

You can change the main language of the script. If the language you want is not available, you can create a file with the language you want in this location 'locales/your_lang.lua' and continue

Config.Locale = 'en' -- tr

Change Inventory

Set the inventory to be used for attaching items to you and retrieving item images

Config.Inventory = 'qb-inventory' -- ox_inventory, codem-inventory, qs-inventory, tgiann-inventory, ps-inventory, lj-inventory

Change Item Images Path

Specify the path where the item images are located, usually in inventory, by default it works fine with qb-inventory, ps-inventory, lj-inventory

Config.InventoryImage = 'html/images'

Set Vehicle Key System

Config.VehicleKey = true
Config.VehicleKeySystem = 'qb-vehiclekeys'
Config.RemoveKey = true
Config.RemoveKeySystem = 'qb-vehiclekeys'

Config.GiveVehicleKey = function(plate, vehicle)
    if Config.VehicleKey then
        if Config.VehicleKeySystem == 'qb-vehiclekeys' then
            TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', plate)
        elseif Config.VehicleKeySystem == 'qs-vehiclekeys' then
            local model = GetDisplayNameFromVehicleModel(GetEntityModel(vehicle))
            exports['qs-vehiclekeys']:GiveKey(plate, model, true)
        elseif Config.VehicleKeySystem == 'wasabi-carlock' then
            exports['wasabi-carlock']:GiveKey(plate)
        elseif Config.VehicleKeySystem == 'cd_garage' then
            TriggerEvent('cd_garage:AddKeys', exports['cd_garage']:GetPlate(vehicle))
        elseif Config.VehicleKeySystem == 'custom' then
            -- Custom Vehicle Key System
        end
    end
end

Config.RemoveVehicleKey = function(plate, vehicle)
    if Config.RemoveKey then
        if Config.RemoveKeySystem == 'qb-vehiclekeys' then
            TriggerServerEvent('qb-vehiclekeys:server:RemoveKeys', plate)
        elseif Config.RemoveKeySystem == 'qs-vehiclekeys' then
            local model = GetDisplayNameFromVehicleModel(GetEntityModel(vehicle))
            exports['qs-vehiclekeys']:RemoveKeys(plate, model)
        elseif Config.RemoveKeySystem == 'wasabi-carlock' then
            exports['wasabi-carlock']:RemoveKey(plate)
        elseif Config.RemoveKeySystem == 'cd_garage' then
            TriggerServerEvent('cd_garage:RemovePersistentVehicles', exports['cd_garage']:GetPlate(vehicle))
        elseif Config.RemoveKeySystem == 'custom' then
            -- Custom Remove Key System
        end
    end
end

Set Fuel System

Set Profile Image Type

ui is also used to get users' profiles. if you want to use discord, you need to enter a discord bot token in the 'BotToken' option in the file located in 'config/server.lua'

Example Image is used when the user has no profile or ImageType is false

Set Money Settings

Oxygen Tube Settings

Blip Settings

Last updated