Configuration

General Configuration

Config = {}

Config.framework = {
    name = "auto", -- Only esx or qb or auto. If auto, it will detect the framework automatically.
    targetScript = "ox_target", -- Target script name (default or qtarget or qb-target or ox_target)
    useOxNotify = true, -- Use ox_lib instead of ESX.ShowNotification or QBCore.Functions.Notify
    progressBar = "mday_lib", -- Progress bar script name (mday_lib or ox_lib)
    notify = "mday_lib", -- Notification script name (mday_lib or ox_lib)
    debug = true, -- Debug mode (only developers)
    minigameScriptName = "rm_minigames", -- script name for custom minigames
}

Config.moneyOptions = {
    blackMoney = false, -- Use black money instead of money
    blackMoneyName = "markedbills", -- if you are using esx this should be "black_money" or if you are using qb this should be "markedbills"
    blackMoneyIsItem = true,
    useMetadataForBlackMoney = true,
    moneyName = "money",
    moneyIsItem = false
}

Config.police = {
    dispatch = "default", -- cd_dispatch | qs-dispatch | ps-dispatch | rcore_dispatch | default
    requiredPoliceCount = 0, -- required police count for start heist
    dispatchJobs = {"police"}
}

Config.general = {
    -- Heist Start Settings  --
    start = {
        npc = true, -- Start heist by talking to NPC
        shooting = true, -- Start heist by shooting
    },

    -- Heist Reset Settings --
    reset = {
        cooldown = 10, -- Time (in minutes) before heist can be started again
        command = "vangelicoreset", -- Command to reset the heist (for police jobs)
    },

    -- Heist Finish Settings --
    finish = {
        scene = true, -- Play finishing
        coords = vector3(0.0, 0.0, 0.0),
        sellableItems = {
            {itemName = "ring", price = 3500},
            {itemName = "necklace", price = 4500},
            {itemName = "diamond", price = 5000},
            {itemName = "big_diamond", price = 9000},
            {itemName = "diamond_necklace", price = 8000},
            {itemName = "painting_01b", price = 12000},
            {itemName = "painting_01d", price = 12000},
            {itemName = "painting_01e", price = 12000},
            {itemName = "painting_01h", price = 14000},
            {itemName = "panther", price = 15000},
            {itemName = "panther_statue", price = 18000},
        }
    },

    -- for start npc
    npcOptions = {
        model = "s_m_m_bouncer_01",
        coords = vector4(-151.280, -15.692, 57.213, 253.679)
    },

    -- Blip for the heist location (when the heist is started)
    blip = {
        sprite = 617,
        color = 4,
        scale = 1.0,
        name = "Vangelico Jewelry Store",
    },

    alarm = {
        enabled = true, -- Enable or disable the alarm system
        allowedMaps = {
            ["none"] = true,
            ["cfx-fm-jewelry"] = true,
            ["cfx-mxc-jewelry"] = true
        }
    }
}

Heist Configuration

Last updated