🗒ī¸Config

Config = {}

Config.Utility = {
    CoreName = "qb-core", -- Core Name or Trigger ESX: esx:getSharedObject
    ItemBox = "inventory:client:ItemBox", -- If you are using ESX ignore this
    WaitAfterRobbing = true, -- Time to wait after new robbery
    WaitSeconds = 60000, -- Cooldown to steal again - 1 Minute
    Distance = 5, -- Distance to the NPC do rob
    TimeRob = 5000, -- Progressbar duration during theft
    KeyToRob = 38, -- "E"
    Rewards = {
        Type = "money", -- Available: "money", "blackmoney", "item"
        MinMoney = 100, -- Minimum money that can come out (Both normal money and dirty money)
        MaxMoney = 500, -- 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,
        }
    },
    CallCops = {
        Enable = true, -- Enable call cops?
        PoliceJob = { "police", "lspd", }, -- Your police job name
        Amount = 2, -- Police amount needed online to rob civilans
        PercentageCall = 100, -- % Percentage to call cops
    },
    ExperienceSystem = { -- Only Works if you are using QBCore
        Enable = true, -- If you use ESX put that to false
        Level_1 = {
            XP = 0, -- Experience required for level 0 ( Don't touch )
            Reward = 1, -- x1 Reward
        },
        Level_2 = {
            XP = 125, -- Experience required for level 2
            Reward = 2, -- x2 Reward
        },
        Level_3 = {
            XP = 325, -- Experience required for level 3
            Reward = 3, -- x3 Reward
        },
        Level_4 = {
            XP = 525, -- Experience required for level 4
            Reward = 4, -- x4 Reward
        },
        Level_5 = {
            XP = 725, -- Experience required for level 5
            Reward = 5, -- x5 Reward
        },
    }
}

Language = {
    RecentlyStolen = "Take it easy on yourself!",
    NpcDead = "You're dead, you can't steal.",
    NoDistance = "You're a long way from civilian!",
    RobNPC = "Stealing the civilian...",
    RobAgain = "Now you can steal again!",
}

Config.WhitelistedWeapons = {
    `weapon_pistol`
}

Last updated