Config file
Config = {}
--[[ Language ]]--
Config.Locale = 'en' -- en, de, es, cs.
--[[ 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'.
}
--[[ 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.
-- ps - https://github.com/Project-Sloth/ps-inventory.
-- codem - https://codem.tebex.io/package/5900973.
-- core - https://core.tebex.io/package/5123274.
-- origen - https://www.origennetwork.store/package/5881161.
-- tgiann - https://tgiann.tebex.io/package/6273000.
--[[ ProgressBar ]]--
Config.ProgressBarDuration = 1 -- 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.NotifyType = {success = 'success', info = 'info', error = 'error'}
Config.Sounds = true
--[[ Main ]]--
Config.VestControlTime = 5 -- Check player vest status [In seconds].
Config.RepeatVestDestroyedNotification = false -- If true, a notification will be sent every 5 seconds; if false, it will only be sent once when the vest is destroyed.
Config.DestroyBrokenVest = false -- Should the player's vest be permanently removed when it is destroyed?
Config.TakeOffBrokenVest = false -- Should the player's vest be automatically unequipped when it is destroyed?
Config.KeyBind = {enable = false, keyCode = 9} -- Keybind to remove player's vest (works only if enable is true). Examples 9, 'a', 'b'...
Config.RemoveVest = {
enable = true, -- Disable this setting if you're using our clothing script.
command = 'removevest', -- Command for removing your vest.
}
Config.Anim = {
takeOn = {dist = 'clothingtie', anim = 'try_tie_negative_a'},
takeOff = {dist = 'clothingtie', anim = 'try_tie_negative_a'},
}
--[[ Vests ]]--
Config.Plates = {
['vestplate_police'] = {
strength = 10, -- The amount of armor this plate will add to the player's vest.
jobWhitelist = {'police', 'sheriff', 'fbi'}, -- Jobs allowed to use this plate (Only these jobs are able to use the plate).
jobBlacklist = {}, -- Jobs restricted from using this plate. (Only these jobs are not able to use the plate).
},
['vestplate_normal'] = {
strength = 5,
jobWhitelist = {},
jobBlacklist = {},
},
}
Config.Vests = {
['vest_police'] = {
label = 'Police Vest', -- The name of the vest displayed in the game.
maxArmor = 100, -- The maximum amount of armor provided by this vest.
startArmor = false, -- If set to a number between 0 and 100, this will be the initial armor when the vest is equipped. If false, the vest armor will start with maxArmor.
clothing = {
use = true, -- Whether this vest applies clothing to the player.
male = { -- Clothing options for male characters (number represents the model, color is the variant).
number = 4,
color = 1,
clothType = 'vest', -- Two types -> 'vest', 'decals'.
},
female = { -- Clothing options for female characters.
number = 3,
color = 1,
clothType = 'vest',
},
},
jobWhitelist = {'police', 'sheriff', 'fbi'}, -- Jobs allowed to use this vest (Only these jobs are able to use the vest).
jobBlacklist = {}, -- Jobs restricted from using this vest. (Only these jobs are not able to use the vest).
},
['vest_normal'] = {
label = 'Normal Vest',
maxArmor = 80,
startArmor = false,
clothing = {
use = true,
male = {number = 4, color = 2, clothType = 'vest'},
female = {number = 1, color = 2, clothType = 'vest'},
},
jobWhitelist = {},
jobBlacklist = {},
},
}
If you need help with anything, do not hesitate and open a support ticket in our discord.
Last updated
Was this helpful?