⚙️Configuration

All source scripts automatically take common configurations such as framework, inventory, clothing system, phones, etc. For this reason, these variables are not listed in the config. The rest would be

Config = {}

-- ██████╗  ███████╗███╗   ██╗███████╗██████╗  █████╗ ██╗     
-- ██╔════╝ ██╔════╝████╗  ██║██╔════╝██╔══██╗██╔══██╗██║     
-- ██║  ███╗█████╗  ██╔██╗ ██║█████╗  ██████╔╝███████║██║     
-- ██║   ██║██╔══╝  ██║╚██╗██║██╔══╝  ██╔══██╗██╔══██║██║     
-- ╚██████╔╝███████╗██║ ╚████║███████╗██║  ██║██║  ██║███████╗
--  ╚═════╝ ╚══════╝╚═╝  ╚═══╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝

Config.Lang = 'en' -- en, es or you cant add your own language in the locales file

Config.Debug = {
    client = true,
    server = true
}

Config.GroupPermissions = {
    'god',
    'admin',
    'superadmin',
}

Config.Triggers = {
    ['esx'] = {
        load = 'esx:playerLoaded',
    },
    ['qb-core'] = {
        load = 'QBCore:Client:OnPlayerLoaded',
    },
}

-- ██████╗  █████╗ ██████╗ ██╗  ██╗██╗███╗   ██╗ ██████╗     ███████╗██╗   ██╗███████╗████████╗███████╗███╗   ███╗
-- ██╔══██╗██╔══██╗██╔══██╗██║ ██╔╝██║████╗  ██║██╔════╝     ██╔════╝╚██╗ ██╔╝██╔════╝╚══██╔══╝██╔════╝████╗ ████║
-- ██████╔╝███████║██████╔╝█████╔╝ ██║██╔██╗ ██║██║  ███╗    ███████╗ ╚████╔╝ ███████╗   ██║   █████╗  ██╔████╔██║
-- ██╔═══╝ ██╔══██║██╔══██╗██╔═██╗ ██║██║╚██╗██║██║   ██║    ╚════██║  ╚██╔╝  ╚════██║   ██║   ██╔══╝  ██║╚██╔╝██║
-- ██║     ██║  ██║██║  ██║██║  ██╗██║██║ ╚████║╚██████╔╝    ███████║   ██║   ███████║   ██║   ███████╗██║ ╚═╝ ██║
-- ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝     ╚══════╝   ╚═╝   ╚══════╝   ╚═╝   ╚══════╝╚═╝     ╚═╝

Config.MaxVehicleInZone = 100 -- Max vehicles in a zone in 100 meters

Config.Confiscate = {
    enable = true,
    command = 'confiscate',
    jobs = {
        ['police'] = true,
    }
}

-- ██╗  ██╗███████╗██╗   ██╗    ███████╗██╗   ██╗███████╗████████╗███████╗███╗   ███╗
-- ██║ ██╔╝██╔════╝╚██╗ ██╔╝    ██╔════╝╚██╗ ██╔╝██╔════╝╚══██╔══╝██╔════╝████╗ ████║
-- █████╔╝ █████╗   ╚████╔╝     ███████╗ ╚████╔╝ ███████╗   ██║   █████╗  ██╔████╔██║
-- ██╔═██╗ ██╔══╝    ╚██╔╝      ╚════██║  ╚██╔╝  ╚════██║   ██║   ██╔══╝  ██║╚██╔╝██║
-- ██║  ██╗███████╗   ██║       ███████║   ██║   ███████║   ██║   ███████╗██║ ╚═╝ ██║
-- ╚═╝  ╚═╝╚══════╝   ╚═╝       ╚══════╝   ╚═╝   ╚══════╝   ╚═╝   ╚══════╝╚═╝     ╚═╝

Config.Keys = {
    enable = true, --? If you deactivate this, you will have to configure the parking system manually on your server using exports
    keytoggledoors = 'U', --? Key to toggle doors open/close

    LockAnimSound = "keys",
    LockToggleSound = "lock",
    
    LockNPCDrivingCars = true, --? Lock NPC driving cars
    LockNPCParkedCars = true, --? Lock NPC parked cars
    
    GiveKeysCommand = 'givekey', --? Command to give keys to another player    
}

Last updated