Accessible code

Config = {
    FrameworkName = IsESX() and 'es_extended' or 'qb-core',

    Locale = 'en',

    DebugZone = true, -- if you want to debug zones enable this, good when creating new garages so you can get how zones looks

    GangCreatorSupport = false,

    DeleteFromSQL = true, -- when sending vehicle in parts, do you want it also to be removed from sql (owned_vehicles or player_vehicles table)

    Target = 'ox_target', -- qb-target or qtarget

    Commands = {
        creator = {
            name = 'theftcreator',
            help = 'Command that helps you to create theft garage',
            restricted = 'group.admin'
        },
        delete = {
            name = 'deletetheft',
            help = 'Command that allows you to delete theft garages',
            restricted = 'group.admin'
        },
        deleteVehicle = {
            name = 'returnveh',
            help = 'Command that allows you to return vehicle to their owner',
            restricted = 'group.admin'
        },
        restore = {
            name = 'restore',
            help = 'Command that allows you to restore wanted vehicle to theft garage',
            restricted = 'group.admin'
        }
    },

    -- when you can send vehicle in parts, IN GAME CLOCK, if you dont want this put SellHours = false
    SellHours = {
        ['Mon'] = { 19, 5 }, -- from 19 to 05, MUST BE 24H FORMAT
        ['Tue'] = { 19, 5 },
        ['Wed'] = { 19, 5 },
        ['Thu'] = { 19, 5 },
        ['Fri'] = { 19, 5 },
        ['Sat'] = { 19, 5 },
        ['Sun'] = { 19, 5 },
    },

    -- vehicles that cant be stored in garage or sold
    BlackListed = {
        [`t20`] = true
    },

    -- If scipt can't find vehicles price in database then it will calculate it by their class, put down there prices that you want
    VehicleClassPrices = {
        -- These are vehicle classes
        [0] = 10000,  -- Compacts
        [1] = 10000,  -- Sedans
        [2] = 10000,  -- SUVs
        [3] = 10000,  -- Coupes
        [4] = 10000, -- Muscle
        [5] = 100000,  -- Sports Classics
        [6] = 100000, -- Sports
        [7] = 100000, -- Super
        [8] = 50000,  -- Motorcycles
        [9] = 50000,  -- Off-road
        [10] = 75000, -- Industrial
        [11] = 500, -- Utility
        [12] = 75000, -- Vans
        [13] = 100, -- Cylces
        [14] = 0, -- Boats
        [15] = 0, -- Helicopters
        [16] = 0, -- Planes
        [17] = 0, -- Service
        [18] = 0, -- Emergency
        [19] = 0, -- Military
        [20] = 10000, -- Commercial
        [21] = 0 -- Trains
    },
}

Discord = {

    url = '',  -- url here

    title = '',

    /*
        https://www.spycolor.com/

        ['default'] = 14423100,
        ['blue'] = 255,
        ['red'] = 16711680,
        ['green'] = 65280,
        ['white'] = 16777215,
        ['black'] = 0,
        ['orange'] = 16744192,
        ['yellow'] = 16776960,
        ['pink'] = 16761035,
        ['lightgreen'] = 65309,
    */

    color = 65309, -- green

    imageUrl = '', -- optional, if you dont want it put ''
}

Last updated