📄Config

Config = {}

Config.Notify = "ox" -- "standalone", "qb", "okok", "ox"
Config.Doorlock = "qb-doorlock" -- "qb-doorlock"
Config.CooldownTime = 1800 -- 30 minutes
Config.MinigameType = "ps-ui" -- "ps-ui" or "bl_ui" or "ox_lib" ( open code on config_functions.lua )

Config.PoliceSettings = {
    Dispatch = "ps-dispatch", -- "ps-dispatch" or "cd_dispatch" or "qs-dispatch"
    AmountPolice = 0, -- Amount of police needed to start the heist
    JobPolice = { -- Jobs that are considered as police
        "police",
        "sheriff",
        "fib"
    }
}

Config.Guards = {
    [1] = {
        coords = vector3(1155.96, -1340.53, 36.19), -- Guard position
        heading = 230.10, -- Guard heading
        model = "s_m_m_security_01", -- Guard model
        anim = "amb@prop_human_bum_bin@idle_b", -- Guard animation
        weapon = "WEAPON_PISTOL", -- Guard weapon
    },
    [2] = {
        coords = vector3(1155.01, -1348.43, 36.19),
        heading = 302.18,
        model = "s_m_m_security_01",
        anim = "amb@prop_human_bum_bin@idle_b",
        weapon = "WEAPON_PISTOL",
    },
    [3] = {
        coords = vector3(1149.26, -1351.99, 36.19),
        heading = 358.90,
        model = "s_m_m_security_01",
        anim = "amb@prop_human_bum_bin@idle_b",
        weapon = "WEAPON_PISTOL",
    },
    [4] = {
        coords = vector3(1133.99, -1347.16, 36.19),
        heading = 271.30,
        model = "s_m_m_security_01",
        anim = "amb@prop_human_bum_bin@idle_b",
        weapon = "WEAPON_PISTOL",
    }
}

Config.Trolleys = {
    ["GoldTrolleys"] = {
        [1] = {
            position = vector3(1152.90, -1350.90, 35.66), -- Trolley position
            searched = false, -- Trolley searched (don't touch)
            rewards = {
                [1] = { item = "gold-ingot", amount = math.random(1,2)} -- Trolley rewards
            }
        },
        [2] = {
            position = vector3(1152.56, -1351.94, 35.66),
            searched = false,
            rewards = {
                [1] = { item = "gold-ingot", amount = math.random(1,2)}
            }
        }
    },
    ["MoneyTrolleys"] = {
        [1] = {
            position = vector3(1151.53, -1350.2, 36.19),
            searched = false,
            rewards = {
                [1] = { amount = math.random(2500, 7500)}
            }
        },
        [2] = {
            position = vector3(1150.17, -1351.21, 36.19),
            searched = false,
            rewards = {
                [1] = { amount = math.random(2500, 7500)}
            }
        }
    }
}

Config.Packages = {
    [1] = {
        position = vector3(1146.05, -1349.57, 36.19), -- Package position
        searched = false, -- Package searched (don't touch)
        rewards = {
            [1] = { item = "lockpick", amount = math.random(1,2) } -- Package rewards
            -- [2] = { item = "gold-ingot", amount = math.random(1,2) }
        }
    },
    [2] = {
        position = vector3(1142.89, -1342.77, 36.19),
        searched = false,
        rewards = {
            [1] = { item = "lockpick", amount = math.random(1,2) }
        }
    },
    [3] = {
        position = vector3(1139.64, -1351.79, 36.19),
        searched = false,
        rewards = {
            [1] = { item = "lockpick", amount = math.random(1,2) }
        }
    },
    [4] = {
        position = vector3(1137.87, -1342.86, 36.19),
        searched = false,
        rewards = {
            [1] = { item = "lockpick", amount = math.random(1,2) }
        }
    }
}

Last updated