Config file
Config = {}
--[[ Language ]]--
Config.Locale = 'en'
--[[ Framework ]]--
Config.Framework = {
type = 'esx', -- esx, qbcore.
export = 'es_extended', -- Default exports - esx: [es_extended], qbcore: [qb-core].
}
--[[ Inventory ]]--
Config.Inventory = 'ox' -- ox - https://github.com/overextended/ox_inventory.
-- qb - https://github.com/qbcore-framework/qb-inventory.
-- qs - https://buy.quasar-store.com/package/4770732.
-- prisma - https://github.com/PrismaDevelopment/qb-inventory.
--[[ ProgressBar ]]--
Config.ProgressBarDuration = 1 -- Duration of the progressbar [in seconds].
Config.ProgressBar = 'ox' -- 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 = 'ox' -- ox, esx, qb.
Config.NotifyType = {success = 'success', info = 'info', error = 'error'}
Config.Sounds = false
--[[ Commands/Keybinds ]]--
Config.GiveVest = {enable = true, permissions = 'admin', command = 'givevest'} -- Command for giving yourself vests - /givevest [id] [item] [name].
Config.RemoveVest = {enable = true, command = 'removevest'} -- Command for removing your vest.
-- ↑ !!! If you are using fivecode_clothing, WE STRONGLY RECOMMEND SETTING Config.RemoveVest TO FALSE !!! ↑ --
Config.EnableKeyBind = false -- Keybind for removing your vest.
Config.KeyBindToRemove = 9 -- Keybind key - https://docs.fivem.net/docs/game-references/controls/.
--[[ Bulletproof vest settings ]]--
Config.PlateItem = 'plate' -- Name of plate item.
Config.DefaultStrengthPlate = 5 -- Default plate strenght.
Config.DestroyBrokenVest = false -- Do you want to destroy player vest upon it being destroyed ?
Config.TakeOffBrokenVest = false -- Do you want to undress player vest upon it being destroyed ?
Config.VestControlTime = 5 -- Check player vest status [In seconds].
Config.IntervalSavingToDb = 5 -- Saving player vest status to database [In minutes] - (For consistency, it is recommended to perform a minimal database update every 5 minutes. [min: 1 min]).
--[[ Animations ]]--
Config.Anim = {
takeOn = {anim = 'clothingtie', clip = 'try_tie_negative_a'},
takeOff = {anim = 'clothingtie', clip = 'try_tie_negative_a'},
}
--[[ Set multiple vests ]]--
Config.UseClothing = true -- If true player will get clothing[clothNumber - clothColor] when using armor.
-- !!! QB and QS Inventories can only have one 'item' and are not able to change 'image' and 'weight' !!!
Config.Vests = {
-- ['item']
['bulletproofvest'] = {
-- ['name']
police = {label = 'Police Vest', weight = 3000, clothNumber = 1, clothColor = 1, image = 'armor', maxArmor = 100},
vest = {label = 'Bulletproof Vest', weight = 4000, clothNumber = 1, clothColor = 1, image = 'carokit', maxArmor = 80}
},
['armor'] = {
test = {label = 'Vest', description = 'Test vest', weight = 4000, clothNumber = 1, clothColor = 1, image = 'armour', maxArmor = 50}
}
}
--[[ Debug ]]--
Config.Debug = false
Config = {}
--[[ Language ]]--
Config.Locale = 'en'
--[[ Framework ]]--
Config.Framework = {
type = 'qbcore', -- esx, qbcore.
export = 'qb-core', -- Default exports - esx: [es_extended], qbcore: [qb-core].
}
--[[ Inventory ]]--
Config.Inventory = 'qb' -- ox - https://github.com/overextended/ox_inventory.
-- qb - https://github.com/qbcore-framework/qb-inventory.
-- qs - https://buy.quasar-store.com/package/4770732.
-- prisma - https://github.com/PrismaDevelopment/qb-inventory.
--[[ ProgressBar ]]--
Config.ProgressBarDuration = 1 -- Duration of the progressbar [in seconds].
Config.ProgressBar = 'qb' -- 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 = 'qb' -- ox, esx, qb.
Config.NotifyType = {success = 'success', info = 'info', error = 'error'}
Config.Sounds = false
--[[ Commands/Keybinds ]]--
Config.GiveVest = {enable = true, permissions = 'admin', command = 'givevest'} -- Command for giving yourself vests - /givevest [id] [item] [name].
Config.RemoveVest = {enable = true, command = 'removevest'} -- Command for removing your vest.
-- ↑ !!! If you are using fivecode_clothing, WE STRONGLY RECOMMEND SETTING Config.RemoveVest TO FALSE !!! ↑ --
Config.EnableKeyBind = false -- Keybind for removing your vest.
Config.KeyBindToRemove = 9 -- Keybind key - https://docs.fivem.net/docs/game-references/controls/.
--[[ Bulletproof vest settings ]]--
Config.PlateItem = 'plate' -- Name of plate item.
Config.DefaultStrengthPlate = 5 -- Default plate strenght.
Config.DestroyBrokenVest = false -- Do you want to destroy player vest upon it being destroyed ?
Config.TakeOffBrokenVest = false -- Do you want to undress player vest upon it being destroyed ?
Config.VestControlTime = 5 -- Check player vest status [In seconds].
Config.IntervalSavingToDb = 5 -- Saving player vest status to database [In minutes] - (For consistency, it is recommended to perform a minimal database update every 5 minutes. [min: 1 min]).
--[[ Animations ]]--
Config.Anim = {
takeOn = {anim = 'clothingtie', clip = 'try_tie_negative_a'},
takeOff = {anim = 'clothingtie', clip = 'try_tie_negative_a'},
}
--[[ Set multiple vests ]]--
Config.UseClothing = true -- If true player will get clothing[clothNumber - clothColor] when using armor.
-- !!! QB and QS Inventories can only have one 'item' and are not able to change 'image' and 'weight' !!!
Config.Vests = {
-- ['item']
['bulletproofvest'] = {
-- ['name']
police = {label = 'Police Vest', weight = 3000, clothNumber = 1, clothColor = 1, image = 'armor', maxArmor = 100},
vest = {label = 'Bulletproof Vest', weight = 4000, clothNumber = 1, clothColor = 1, image = 'carokit', maxArmor = 80}
},
['armor'] = {
test = {label = 'Vest', description = 'Test vest', weight = 4000, clothNumber = 1, clothColor = 1, image = 'armour', maxArmor = 50}
}
}
--[[ Debug ]]--
Config.Debug = false
en
Locales['en'] = {
['equiped'] = 'You are already wearing a vest!',
['bulletproof_vest'] = 'Armor: %s/%s',
['take_on_vest'] = 'Taking on vest',
['take_off_vest'] = 'Removing vest',
['no_vests'] = 'You dont\'t have any vests in your inventory!',
['broken_vest'] = 'Your vest is broken!',
['no_vest_equiped'] = 'You are not wearing any vest right now!',
['repaired'] = 'Your vest is repaired to %s%%',
['not_enough_plates'] = 'You dont\'t have enough plates',
['bad_item'] = 'Item doesn\'t exist',
['bad_type'] = 'This vest name doesn\'t exist',
['remove_vest'] = 'Undress vest',
['busy'] = 'You cannot do this right now!',
-- Command
['must_be_number'] = 'The first argument must be a number.',
['player_id_help'] = 'Player Id',
['item_help'] = 'Vest item in config',
['itemName_help'] = 'Vest name in config',
['invalid_item'] = 'This vest item doesn\'t exist',
['invalid_name'] = 'This vest name doesn\'t exist',
['get_item'] = 'You got %s',
['invalid_id'] = 'Invalid ID',
}
de
Locales['de'] = {
['equiped'] = 'Du hast bereits eine Weste angelegt.',
['bulletproof_vest'] = 'Rüstung: %s/%s',
['take_on_vest'] = 'Anlegen der Weste',
['take_off_vest'] = 'Ablegen der Weste',
['no_vests'] = 'Du hast keine Weste in deinem Inventar.',
['broken_vest'] = 'Deine Weste ist kaputt.',
['no_vest_equiped'] = 'Du hast keine Weste angelegt.',
['repaired'] = 'Deine Weste wurde auf %s%% repariert.',
['not_enough_plates'] = 'Du hast nicht genug Platten.',
['bad_item'] = 'Gegenstand existiert nicht.',
['bad_type'] = 'Dieser Westenname existiert nicht.',
['remove_vest'] = 'Weste ausziehen',
['busy'] = 'Das können Sie im Moment nicht tun!',
-- Command
['must_be_number'] = 'Das erste Argument muss eine Zahl sein.',
['player_id_help'] = 'Spieler-ID',
['item_help'] = 'Vest-Gegenstand in der Konfiguration',
['itemName_help'] = 'Vest-Name in der Konfiguration',
['invalid_item'] = 'Dieser Vest-Gegenstand existiert nicht.',
['invalid_name'] = 'Dieser Vest-Name existiert nicht.',
['get_item'] = 'Du hast %s erhalten.',
['invalid_id'] = 'Ungültige ID',
}
es
Locales['es'] = {
['equiped'] = 'Ya tienes equipado un chaleco.',
['bulletproof_vest'] = 'Armadura: %s/%s',
['take_on_vest'] = 'Poniéndote el chaleco',
['take_off_vest'] = 'Quitándote el chaleco',
['no_vests'] = 'No tienes ningún chaleco en tu inventario.',
['broken_vest'] = 'Tu chaleco está roto.',
['no_vest_equiped'] = 'No tienes ningún chaleco equipado.',
['repaired'] = 'Tu chaleco ha sido reparado al %s%%.',
['not_enough_plates'] = 'No tienes suficientes placas.',
['bad_item'] = 'El objeto no existe.',
['bad_type'] = 'Este nombre de chaleco no existe.',
['remove_vest'] = 'Quitar chaleco',
['busy'] = 'No puedes hacer esto ahora mismo!',
-- Command
['must_be_number'] = 'El primer argumento debe ser un número.',
['player_id_help'] = 'ID del jugador',
['item_help'] = 'Artículo de chaleco en la configuración',
['itemName_help'] = 'Nombre de chaleco en la configuración',
['invalid_item'] = 'Este artículo de chaleco no existe.',
['invalid_name'] = 'Este nombre de chaleco no existe.',
['get_item'] = 'Has obtenido %s.',
['invalid_id'] = 'ID inválido',
}
cs
Locales['cs'] = {
['equiped'] = 'Již máš na sobě vestu',
['bulletproof_vest'] = 'Vesta: %s/%s',
['take_on_vest'] = 'Oblékáš si vestu...',
['take_off_vest'] = 'Vyslékáš si vestu...',
['no_vests'] = 'Nemáš u sebe žádnou vestu.',
['broken_vest'] = 'Tvá vesta je rozbitá, již tě neochrání',
['no_vest_equiped'] = 'Nemáš na sobě vestu',
['repaired'] = 'Síla vesty se zvýšila na %s%%',
['not_enough_plates'] = 'Nemáš dost plátů',
['bad_item'] = 'Požadovaný item neexistuje',
['bad_type'] = 'Jméno vesty neexistuje',
['remove_vest'] = 'Vysléct vestu',
['busy'] = 'Tohle teď nemůžete udělat!',
-- Command
['must_be_number'] = 'První argument musí být číslo.',
['player_id_help'] = 'ID hráče',
['item_help'] = 'Item požadované vesty',
['itemName_help'] = 'Jméno vesty',
['invalid_item'] = 'Tento item vesty neexistuje',
['invalid_name'] = 'Toto jméno vesty neexistuje',
['get_item'] = 'Obdržels %s',
['invalid_id'] = 'Špatné ID',
}
ar
Locales['ar'] = {
['equiped'] = 'انت ترتدي درع بلفعل',
['bulletproof_vest'] = '%s/%s :درع',
['take_on_vest'] = 'ارتداء الدرع',
['take_off_vest'] = 'خلع الدرع',
['no_vests'] = '.ليس لديك أي سترة في مخزونك',
['broken_vest'] = 'درعك مكسورة',
['no_vest_equiped'] = 'أنت لم ترتدي ايا درع',
['repaired'] = '%s%% تم إصلاح درع الخاص بك الى',
['not_enough_plates'] = 'ليس لديك ما يكفي من اللوحات',
['bad_item'] = 'العنصر غير موجود',
['bad_type'] = 'اسم الدرع هذا غير موجود',
['remove_vest'] = 'خلع السترة',
['busy'] = 'لا يمكنك القيام بهذا الآن!',
-- Command
['must_be_number'] = ".يجب أن تكون الوسيطة الأولى رقمًا",
['player_id_help'] = 'معرف اللاعب',
['item_help'] = 'Config عنصر سدرع في',
['itemName_help'] = 'Config اسم درع في',
['invalid_item'] = 'عنصر الدرع هذا غير موجود',
['invalid_name'] = 'اسم الدرع هذا غير موجود',
['get_item'] = '%s أنت حصلت',
['invalid_id'] = 'التعريف غير صالحة',
}
If you need help with anything, do not hesitate and open a support ticket in our discord.
Last updated