Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QBCore = exports['qb-core']:GetCoreObject()
- Config = {
- Debug = false,
- Locale = 'en',
- newQBinventory = true,
- Progress = 'ox', -- 'qb' or 'ox'
- useXP = true, -- Check editable/server_functions.lua to add your own skill system
- auto_add_items = false, -- QB ONLY!
- useWallet = false, -- Set to false if you use my other theft resources and have this enabled in 1 of them. ONLY ENABLE ONCE!
- -- Items Info
- npcWallet = {
- wallet = { itemName = "wallet", label = "Wallet", weight = 100, type = 'item', image = 'wallet.png' },
- purse = { itemName = "purse", label = "Purse", weight = 100, type = 'item', image = 'purse.png' }
- },
- -- Pickpocket Configuration
- pickpocket = {
- pickpocket_key = 'E', -- Changeable via Fivem Keybinds
- distance = 1.5, -- Recommended: 1.5
- robberyChance = 76, -- Chance for NPC to flee
- stumbleChance = 22,
- fightBack = true, -- Set to false to disable NPC fight back
- fightChance = 11, -- 8% chance NPC fights back
- coolDown = 30 * 1000 -- In seconds
- },
- -- Loot/Rewards Configuration
- loot = {
- -- If a wallet/purse is given, then players won't get item loot, only the wallet or purse
- findLoot = 65, -- Chance of finding anything while pickpocketing
- walletChance = 33, -- Chance of receiving `wallet` or `purse` item
- findWalletCash = 68, -- Chance of finding cash in wallet or purse
- findWalletItems = 40, -- Chance of finding cash in wallet or purse
- itemAmount = { min = 1, max = 2 },
- reward = { min = 60, max = 100 },
- dirty = true, -- Enable dirty money
- dirtyItem = 'rolls',
- -- I recommend setting the item rewards for wallet/purses the same in all my resources if you use them
- wallet = { "cokebaggy", "flush_cutter", "pocket_lint" },
- purse = { "stolen_phone", "cokebaggy", "microfibercloth", "stolen_tablet", "wallet", "flush_cutter", "stolen_diamond_ring", "labkey", "rope", "drug_phone", "bandage", "pistol_mk2_barrel" },
- -- NPC Loot Tables
- npcLootTables = {
- ballas = { "cokebaggy", "lockpick", "drug_phone", "joint" },
- vagos = { "meth", "lockpick", "stolen_phone", "bandage" },
- lostmc = { "cokebaggy", "painkillers", "cryptostick", "joint" },
- rich = { "cokebaggy", "crisps", "cryptostick", "stolen_rolex" },
- civilians = { "crisps", "binoculars", "pocket_lint", "painkillers", "lighter" },
- bums = { "lighter", "meth", "plastic", "cokebaggy", "water_bottle", "pocket_lint" },
- default = { "lighter", "crisps", "binoculars", "pocket_lint" } -- Fallback loot
- },
- npcModels = {
- ballas = { [`g_m_y_ballaeast_01`] = true, [`g_m_y_ballaorig_01`] = true, [`g_m_y_ballasout_01`] = true, [`csb_ballasog`] = true, [`g_f_y_ballas_01`] = true },
- vagos = { [`g_m_y_mexgang_01`] = true, [`g_m_y_mexgoon_01`] = true, [`g_m_y_mexgoon_02`] = true, [`g_f_y_vagos_01`] = true, [`g_m_y_mexgoon_03`] = true },
- lostmc = { [`g_m_y_lost_01`] = true, [`g_m_y_lost_02`] = true, [`g_m_y_lost_03`] = true },
- rich = { [`s_m_m_bankman`] = true, [`u_m_m_bankman`] = true },
- bums = { [`a_m_o_tramp_01`] = true, [`a_f_m_tramp_01`] = true, [`u_m_y_militarybum`] = true, [`a_m_m_tramp_01`] = true, [`a_m_y_stbla_02`] = true, [`a_f_m_skidrow_01`] = true, [`a_f_m_trampbeac_01`] = true, [`a_f_y_rurmeth_01`] = true, [`a_m_m_mexlabor_01`] = true, [`a_m_m_mexcntry_01`] = true, [`a_m_o_beach_01`] = true, [`a_m_o_acult_02`] = true, [`a_m_o_soucent_03`] = true, [`a_m_o_soucent_02`] = true },
- civilians = { [`a_m_y_business_01`] = true, [`a_f_y_business_01`] = true, [`a_m_m_farmer_01`] = true }
- }
- },
- -- Alert Settings
- alertInfo = {
- alertChance = 70, -- 70% chance of police being notified
- dispatch = 'ps-dispatch' -- Alert handler
- },
- -- Ped Settings
- pedSettings = {
- pedTypes = 'all', -- 'all', 'allowed', or 'denied' for NPC types
- pedList = {
- allowed = {
- [`a_f_m_soucentmc_01`] = true,
- [`a_f_m_tourist_01`] = true,
- [`a_f_m_soucent_02`] = true,
- [`a_m_m_farmer_01`] = true,
- [`a_m_m_malibu_01`] = true,
- [`a_m_m_soucent_01`] = true,
- [`a_m_m_bevhills_01`] = true,
- },
- denied = {
- [`mp_m_shopkeep_01`] = false,
- [`csb_ballasog`] = false,
- [`ig_ballasog`] = false,
- [`g_f_y_ballas_01`] = false,
- [`g_m_y_ballaeast_01`] = false,
- [`g_m_y_ballaorig_01`] = false,
- [`g_m_y_ballasout_01`] = false
- }
- }
- }
- }
- -- Notification Function
- Config.Notification = function(title, message, length, type)
- TriggerEvent('QBCore:Notify', { caption = title, text = message }, type, length)
- end
- -- Localization
- _U = function(entry)
- return Locales[Config.Locale][entry]
- end
Add Comment
Please, Sign In to add comment