Config file
Config = {}
--[[ Language ]]--
Config.Locale = 'en'
--[[ Framework ]]--
Config.Framework = {
autoDetect = true, -- Automatically finds and sets supported framework on your server.
type = 'esx', -- ESX = 'esx' / QBCore = 'qbcore'
export = 'es_extended', -- ESX = 'es_extended' / QBCore = 'qb-core' / Qbox = 'qbox'
}
--[[ Inventory ]]--
Config.Inventory = 'auto_detect' -- auto_detect - Automatically finds and sets supported inventory on your server.
-- ox - https://github.com/overextended/ox_inventory.
-- qb - https://github.com/qbcore-framework/qb-inventory.
-- qs - https://buy.quasar-store.com/package/4770732.
-- aq - https://forum.cfx.re/t/sale-paid-aquiver-inventory-system/4756762.
-- ps - https://github.com/Project-Sloth/ps-inventory.
-- core - https://forum.cfx.re/t/core-inventory-qb-esx-advanced-grid-based-inventory/4859943.
-- codem - https://codem.tebex.io/package/5900973.
-- aq - https://www.aquiverproducts.eu/package/5625009.
--[[ Menu ]]--
Config.Menu = 'auto_detect' -- auto_detect - Automatically finds and sets supported menu on your server.
-- ox - https://overextended.github.io/docs.
-- esx - https://github.com/esx-framework/esx-legacy/tree/main/%5Besx%5D/esx_menu_default.
-- qb - https://github.com/qbcore-framework/qb-menu.
--[[ Action Menu ]]--
Config.ActionMenu = 'auto_detect' -- auto_detect - Automatically finds and sets supported action menu on your server.
-- help - https://esx-brasil.github.io/es_extended/client/functions/showhelpnotification/.
-- ox - https://github.com/overextended/ox_target.
-- qb - https://github.com/qbcore-framework/qb-target.
-- q - https://github.com/thelindat/qtarget.
--[[ ProgressBar ]]--
Config.ProgressBarDuration = 0.25 -- Duration of the progressbar [in seconds].
Config.ProgressBar = 'auto_detect' -- auto_detect - Automatically finds and sets supported progressbar on your server.
-- none - No ProgressBar.
-- ox - https://overextended.github.io/docs.
-- qb - https://github.com/qbcore-framework/progressbar.
-- qs - https://github.com/quasar-scripts/progressbar.
-- progressBars - https://forum.cfx.re/t/release-progress-bars-1-0-standalone/526287/4.
--[[ Notifications ]]--
Config.Notify = 'auto_detect' -- auto_detect, ox, esx, qb.
Config.HelpNotify = 'auto_detect' -- auto_detect, ox, esx, qb.
Config.NotifyType = {success = 'success', info = 'info', error = 'error'}
Config.Sounds = true
--[[ Price of one key ]]--
Config.KeyPrice = 250
Config.CarModelLabel = true -- Vehicle keys named by Car Model like "Keys - Blista".
Config.MaxDistanceFromVehicle = 4.5 -- Your max distance from closest vehicle.
--[[ Other ]]--
Config.UseUI = true -- If false vehicle will lock upon using key item.
Config.GarageFix = false -- Change this to true if you are using qs-advacedgarage or if you are experiencing any issues.
Config.VehicleSounds = true -- If false vehicle will not make a sound upon locking/unlocking.
Config.VehicleProp = true -- If false when locking vehicle player will not have prop key in his hands.
Config.CanExitWhileLocked = true -- true = players inside locked vehicles would not be able to leave, until the vehicle will be unlocked.
Config.NeedKeysToStartVehicles = false -- true = vehicle needs to start right key
Config.CanDriveNPCCars = false -- Works only when NeedKeysToStartVehicles is true
Config.VehicleOwnershipJobs = {'civ', 'unemployed'} -- Jobs that have no owner and, therefore, the vehicle is managed by the player itself.
Config.AllowedLockedVehicleLeave = {8, 13, 14} -- Motorcycles (8), cycles (13), boats (14).
Config.VehicleWithoutKeys = {13} -- Cycles.
Config.GiveCarKeys = 'givecarkeys' -- Command for giving car keys.
Config.HasPlateWhitespace = true -- In default all vehicles have plate as [SZD 156] - If you have [SZD156] then use false.
Config.UniversalKeyForSociety = {'police'}
Config.UseSocietyKeys = true
Config.CanCreateKeys = {
defaultGrades = {
use = true, -- Use grades in this table for every job.
grades = {'2', '3'}
},
specificGrades = { -- Works only if defaultGrades-use is set to false.
['police'] = { -- Job name.
grades = {'2', '3'}, -- Allowed grades.
},
['ambulance'] = {
grades = {'2', '3'},
},
},
}
--[[ Npc Shop ]]--
Config.Npc = {
{
model = 'cs_carbuyer', -- Your NPC model - you can find new model here: https://docs.fivem.net/docs/game-references/ped-models/.
scenario = 'WORLD_HUMAN_VALET', -- Scenario that will your NPC display - you can find new scenario here: https://github.com/Santagain/gtav-scenarios.
position = vec4(-57.28, -1099.17, 26.41, 25.51), -- Position of your NPC. [If you are using QTarget, Ox_Target or Bt_Target it will be automaticly set around the ped by the script].
distance = 2.0, -- Distance from npc to open menu.
targeticon = 'fas fa-key', -- OX_Target or QTarget icon. You can find them here https://fontawesome.com/icons.
},
--[[{
model = 'cs_carbuyer',
scenario = 'WORLD_HUMAN_VALET',
position = vec4(-55.04, -1094.20, 26.41, 25.51),
distance = 2.0,
targeticon = 'fas fa-key',
},]]
}
If you need help with anything, do not hesitate and open a support ticket in our discord.
Last updated
Was this helpful?