🗒️Config

Config = {}

Config.Core = "qb-core" -- Core Name
Config.Inventory = "qb" -- "qb" or "ox"
Config.Notification = "qb" -- "qb" or "ox"
Config.KeyToRob = 38 -- "E"
Config.Cooldown = 300 -- 5 minutes
Config.StealingTime = { min = 5000, max = 10000 } -- 5 seconds to 10 seconds

Config.ValidWeapons = { -- List of valid weapons to rob npc's
    `weapon_pistol`
}

Config.CopsSettings = { -- Call cops settings
    callCops = true, -- Enable or disable call cops
    policeJobs = { "police", "sheriff", "state" }, -- List of police jobs
    amountOnline = 0, -- Amount of police online to call
    percentageCall = 100, -- Percentage to call cops
}

Config.Rewards = {
    Type = "item", -- Available: "money", "item"
    MinMoney = 200, -- Minimum money that can come out (Both normal money and dirty money)
    MaxMoney = 600, -- Maximum money that can go out (Both normal money and dirty money)
    Item = { -- List of available items can drop on npc's
       [1] = "phone",
       [2] = "water_bottle",
    },
    ItemAmount = { -- Amount of the item when rob npc
        MinItem = 1,
        MaxItem = 2,
    }
}

Last updated