Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- --------------------------------------------------------------------------------
- -- Core Settings
- --------------------------------------------------------------------------------
- Config.Framework = 'ESX' -- 'ESX' or 'QBCore'
- Config.Locale = 'en' -- 'en', 'cs', 'es'
- Config.Currency = '$'
- Config.DateFormat = '24hour' -- '24hour' (DD/MM/YYYY) or '12hour' (MM/DD/YYYY)
- -- Admin Groups for Commands
- Config.AdminGroups = {
- ['superadmin'] = true,
- ['admin'] = true
- }
- --------------------------------------------------------------------------------
- -- Interaction & UI
- --------------------------------------------------------------------------------
- Config.Notify = 'ox' -- 'ox', 'esx', 'qb'
- Config.TextUI = 'ek' -- 'ox', 'esx', 'qb', 'ek'
- Config.TargetSystem = 'ox_target' -- 'ox_target', 'qb-target'
- -- Interaction Mode: 'target' (uses TargetSystem) or 'key' (uses TextUI + Key Press)
- Config.GarageInteraction = 'key'
- Config.ImpoundInteraction = 'key'
- -- Ped Models for Interactions
- Config.GaragePedModel = 'ig_benny'
- Config.ImpoundPedModel = 's_m_y_cop_01'
- -- Available Ped Models for Garage Creator
- Config.PedList = {
- {label = 'Benny', value = 'ig_benny'},
- {label = 'Mechanic', value = 's_m_y_mechanic_01'},
- {label = 'Cop', value = 's_m_y_cop_01'},
- {label = 'Business Man', value = 'a_m_m_business_01'},
- {label = 'Security', value = 's_m_m_security_01'},
- {label = 'Valet', value = 's_m_y_valet_01'}
- }
- -- Blip Settings
- Config.Blips = {
- CarGarage = {
- Name = 'Garage',
- Sprite = 357,
- Color = 47,
- Scale = 0.7
- },
- BoatGarage = {
- Name = 'Boat Dock',
- Sprite = 427,
- Color = 47,
- Scale = 0.7
- },
- AirGarage = {
- Name = 'Hangar',
- Sprite = 423,
- Color = 47,
- Scale = 0.7
- },
- Impound = {
- Name = 'Impound',
- Sprite = 67,
- Color = 21,
- Scale = 0.7
- }
- }
- --------------------------------------------------------------------------------
- -- Gameplay Settings
- --------------------------------------------------------------------------------
- -- Mileage
- Config.UseMileage = true
- Config.MileageUnit = 'KM' -- 'KM' or 'MI'
- -- Impound
- Config.ImpoundPrice = 500
- Config.ExpediteFee = 2000 -- Extra cost to release vehicle immediately if time hasn't passed
- Config.ImpoundTimes = {
- { label = '1 Hour', value = 1 },
- { label = '12 Hours', value = 12 },
- { label = '1 Day', value = 24 },
- { label = '3 Days', value = 72 },
- { label = '7 Days', value = 168 }
- }
- -- Keys
- Config.StoreKey = 47 -- G key (for storing vehicle)
- -- Impound Command
- Config.ImpoundCommand = 'impoundmenu'
- -- Permissions
- Config.ImpoundPermissions = {
- Seize = { -- Who can use /impoundmenu or seize cars
- ['police'] = true,
- ['sheriff'] = true
- },
- Return = { -- Who can access the Police Impound List (Return to Owner)
- ['police'] = true,
- ['sheriff'] = true
- }
- }
- --------------------------------------------------------------------------------
- -- Locales System (Do not edit below unless you know what you are doing)
- --------------------------------------------------------------------------------
- Locales = {}
- function _U(str, ...)
- if Locales[Config.Locale] then
- if Locales[Config.Locale][str] then
- return string.format(Locales[Config.Locale][str], ...)
- else
- return 'Translation [' .. Config.Locale .. '][' .. str .. '] does not exist'
- end
- else
- return 'Locale [' .. Config.Locale .. '] does not exist'
- end
- end
- function _L(str)
- if not str then return nil end
- if Locales[Config.Locale] and Locales[Config.Locale][str] then
- return Locales[Config.Locale][str]
- end
- return str
- end
Advertisement
Add Comment
Please, Sign In to add comment