Pick-Pocket / Hold-Up Config

PickPocketHoldupConfig = {}

PickPocketHoldupConfig.Enabled = { -- If you want this module disabled set to false
    pickpocketEnabled = true, --Allows players to pickpocket NPC's
    holdupEnabled = true, -- Allows players to holdup NPC's
}

PickPocketHoldupConfig.HoldUpWitnessChance = 50 -- The chance of a witness seeing what your doing and reporting to the police
PickPocketHoldupConfig.HoldUpAttackChance = 30 -- The chance of the ped being held up to attack the player

PickPocketHoldupConfig.HoldUpAIWeapons = { -- Weapons that npc's can have when attacking the player
    "WEAPON_PISTOL",
    "WEAPON_KNIFE",
    "WEAPON_SWITCHBLADE",
}

PickPocketHoldupConfig.PickpocketAIWeapons = { -- Weapons that npc's can have when attacking the player
    "WEAPON_STUNGUN",
    "WEAPON_SWITCHBLADE",
}

PickPocketHoldupConfig.BlacklistedJobs = { -- Jobs that are unable to pickpocket or holdup NPC's
    "police",
    "ambulance",
}

PickPocketHoldupConfig.UsingBuiltInMinigame = true -- Whether or not you want to use our custom minigame or not, if not check editablefunctions_cl.lua

PickPocketHoldupConfig.PickpocketLoot = { -- The Loot you can get from pickpocketing
    minLoot = 1, -- Min amount of loot per pocket picked
    maxLoot = 5, -- Max amount of loot per pocket picked
    items = {
        {
            item = "phone", -- Item Name
            difficulty = 10, -- Only used if UsingBuiltInMinigame is true
        },
        {
            item = "wallet",
            difficulty = 30,
        },
        {
            item = "gum",
            difficulty = 50,
        },
        {
            item = "earpod",
            difficulty = 45,
        },
        {
            item = "money",
            difficulty = 25,
        },
    }
}

PickPocketHoldupConfig.HoldupLoot = { -- The loot you can get from holding NPC's up
    items = {
        {
            item = "wallet", -- Item name
            amount = 1, -- Item amount
        },
        {
            item = "money",
            amount = 100,
        },
    }
}

Last updated