⚙️Configuration

A clear overview of all the available configurations for the Ammunation Heist!

Here you will find everything that you need to configure in order for the heist to run perfectly. Read through the comments in file carefully to fully understand what you need to change and what not to!


Config File

Ammunation = {
    Main = {
        Debug = false,
        
        -- Language that resource will be translated to.
        -- You can always add new translations. Check out our guide for it!
        Language = "en",

        Framework = 'qb',   -- 'qb', 'esx' or 'standalone'
        
        -- Target and progressbar can be custom besides these two options.
        -- You will have to add it client/client.utils.lua
        Target = "ox",      -- 'ox' or 'qb'
        ProgressBar = "qb", -- 'ox' or 'qb'
        
        GroupsSystem = "bd" -- 'bd' or 'custom'
    },

    Misc = {
        CopsRequiredPerRobbery = 10,
        TimeBetweenWaves = 1, -- In minutes
    },
    
    JobData = {
        EnablePed = true,
        Ped = "a_f_o_soucent_02",
        Coords = vector4(1049.54, -2427.95, 30.30, 87.92),

        MaxJobsAtOnce = 1, -- Recommended to leave at 1 as it is a massive server event

        -- 60 minutes after starting the heist if its not completed it will finish and another group can start it
        JobTime = 60, -- In minutes
    },
    
    -- We recommend to leave this item to grinder as it add realism to the whole thing
    RequiredItems = {
        ["Containers"] = {
            Item = "grinder",
            Amount = 1, -- Leave 1
            RemoveItem = true,
        },
    },

    LootBoxRewards = {
        [1] = {
            Name = "WEAPON_P30L",
            MinAmount = 1,
            MaxAmount = 3,
            Chance = 70
        },
        [2] = {
            Name = "WEAPON_TEC9S",
            MinAmount = 1,
            MaxAmount = 1,
            Chance = 50
        },
        [3] = {
            Name = "ap_pistol_body",
            MinAmount = 1,
            MaxAmount = 3,
            Chance = 70
        },
        [4] = {
            Name = "weapon_snspistol",
            MinAmount = 2,
            MaxAmount = 2,
            Chance = 100
        },
        [5] = {
            Name = "armor",
            MinAmount = 10,
            MaxAmount = 10,
            Chance = 100
        },
        [6] = {
            Name = "at_clip_drum_pistol",
            MinAmount = 1,
            MaxAmount = 1,
            Chance = 100
        },
    },
    
    -- Don't touch here
    Containers = {
        ["tr_prop_tr_container_01a"] = {
            Prop = "tr_prop_tr_container_01a",
            Code = "S8B5",
        },
        ["tr_prop_tr_container_01b"] = {
            Prop = "tr_prop_tr_container_01b",
            Code = "S9F1",
        },
        ["tr_prop_tr_container_01c"] = {
            Prop = "tr_prop_tr_container_01c",
            Code = "9C0B",
        },
        ["tr_prop_tr_container_01e"] = {
            Prop = "tr_prop_tr_container_01e",
            Code = "9J3B",
        },
        ["tr_prop_tr_container_01f"] = {
            Prop = "tr_prop_tr_container_01f",
            Code = "B09W",
        },
        ["tr_prop_tr_container_01g"] = {
            Prop = "tr_prop_tr_container_01g",
            Code = "0B06",
        },
        ["tr_prop_tr_container_01h"] = {
            Prop = "tr_prop_tr_container_01h",
            Code = "8E7T",
        },
        ["tr_prop_tr_container_01i"] = {
            Prop = "tr_prop_tr_container_01i",
            Code = "S92H",
        },
    },
    
    -- Weapons that the NPC's will be with
    Weapons = {
        "WEAPON_PISTOL",
        "WEAPON_COMBATPISTOL",
        "WEAPON_PISTOL50",
        "WEAPON_SNSPISTOL",
        "WEAPON_HEAVYPISTOL",
        "WEAPON_VINTAGEPISTOL",
        "WEAPON_PISTOL_MK2",
        "WEAPON_SNSPISTOL_MK2",
    },
    
    -- Different locations for the heist
    Locations = {
        [1] = {
            Containers = {
                [1] = { Coords = vector4(634.30, -2967.58, 6.05, 89.33), LootBoxCoords = vector4(633.46, -2967.58, 6.43, 89.33), Lock = { Coords = vector3(636.1449, -2967.5596, 6.2405) }, IsBusy = false, IsDone = false },
                [2] = { Coords = vector4(634.11, -2963.78, 6.05, 89.33), LootBoxCoords = vector4(633.22, -2963.70, 6.43, 89.33), Lock = { Coords = vector3(635.941, -2963.7681, 6.2469) }, IsBusy = false, IsDone = false },
                [3] = { Coords = vector4(641.15, -2963.98, 6.05, 269.47), LootBoxCoords = vector4(642.13, -2963.96, 6.43, 269.47), Lock = { Coords = vector3(639.3052, -2964.0039, 6.23) }, IsBusy = false, IsDone = false },
                [4] = { Coords = vector4(641.25, -2967.68, 6.05, 269.47), LootBoxCoords = vector4(642.20, -2967.70, 6.43, 269.47), Lock = { Coords = vector3(639.4216, -2967.6943, 6.2469) }, IsBusy = false, IsDone = false },
            },

            LootBox = {},

            Waves = {
                [1] = {
                    Direction = "South",
                    Coords = vector4(639.14, -2994.85, 6.04, 6.98),
                    IsKilled = false,
                    Peds = {
                        [1] = { Model = "s_m_m_security_01", Coords = vector4(656.23, -2992.59, 6.13, 36.31) },
                        [2] = { Model = "s_m_m_security_01", Coords = vector4(628.26, -3005.28, 6.05, 339.06) },
                        [3] = { Model = "s_m_m_security_01", Coords = vector4(617.71, -2992.40, 6.05, 357.35) },
                        [4] = { Model = "s_m_m_security_01", Coords = vector4(629.00, -2994.92, 6.05, 346.48) },
                        [5] = { Model = "s_m_m_security_01", Coords = vector4(635.84, -2979.05, 6.05, 347.24) },
                        [6] = { Model = "s_m_m_security_01", Coords = vector4(656.23, -2992.59, 6.13, 36.31) },
                        [7] = { Model = "s_m_m_security_01", Coords = vector4(628.26, -3005.28, 6.05, 339.06) },
                        [8] = { Model = "s_m_m_security_01", Coords = vector4(617.71, -2992.40, 6.05, 357.35) },
                        [9] = { Model = "s_m_m_security_01", Coords = vector4(629.00, -2994.92, 6.05, 346.48) },
                        [10] = { Model = "s_m_m_security_01", Coords = vector4(635.84, -2979.05, 6.05, 347.24) },
                    }
                },
                [2] = {
                    Direction = "East",
                    Coords = vector4(670.93, -2958.61, 6.05, 104.27),
                    IsKilled = false,
                    Peds = {
                        [1] = { Model = "s_m_m_security_01", Coords = vector4(675.99, -2949.87, 6.07, 111.30) },
                        [2] = { Model = "s_m_m_security_01", Coords = vector4(669.52, -2969.50, 6.05, 71.94) },
                        [3] = { Model = "s_m_m_security_01", Coords = vector4(667.83, -2942.29, 6.05, 122.64) },
                        [4] = { Model = "s_m_m_security_01", Coords = vector4(657.15, -2956.42, 6.05, 110.30) },
                        [5] = { Model = "s_m_m_security_01", Coords = vector4(651.46, -2965.63, 6.05, 75.35) },
                        [6] = { Model = "s_m_m_security_01", Coords = vector4(675.99, -2949.87, 6.07, 111.30) },
                        [7] = { Model = "s_m_m_security_01", Coords = vector4(669.52, -2969.50, 6.05, 71.94) },
                        [8] = { Model = "s_m_m_security_01", Coords = vector4(667.83, -2942.29, 6.05, 122.64) },
                        [9] = { Model = "s_m_m_security_01", Coords = vector4(657.15, -2956.42, 6.05, 110.30) },
                        [10] = { Model = "s_m_m_security_01", Coords = vector4(651.46, -2965.63, 6.05, 75.35) },
                        [11] = { Model = "s_m_m_security_01", Coords = vector4(675.99, -2949.87, 6.07, 111.30) },
                        [12] = { Model = "s_m_m_security_01", Coords = vector4(669.52, -2969.50, 6.05, 71.94) },
                        [13] = { Model = "s_m_m_security_01", Coords = vector4(667.83, -2942.29, 6.05, 122.64) },
                        [14] = { Model = "s_m_m_security_01", Coords = vector4(657.15, -2956.42, 6.05, 110.30) },
                        [15] = { Model = "s_m_m_security_01", Coords = vector4(651.46, -2965.63, 6.05, 75.35) },
                    }
                },
                [3] = {
                    Direction = "West",
                    Coords = vector4(593.22, -2973.85, 6.05, 273.95),
                    IsKilled = false,
                    Peds = {
                        [1] = { Model = "s_m_m_security_01", Coords = vector4(593.22, -2973.85, 6.05, 273.95) },
                        [2] = { Model = "s_m_m_security_01", Coords = vector4(597.65, -2952.27, 6.05, 249.71) },
                        [3] = { Model = "s_m_m_security_01", Coords = vector4(625.67, -2963.64, 14.49, 271.41) },
                        [4] = { Model = "s_m_m_security_01", Coords = vector4(625.66, -2966.13, 11.67, 269.59) },
                        [5] = { Model = "s_m_m_security_01", Coords = vector4(626.43, -2961.13, 11.67, 272.80) },
                        [6] = { Model = "s_m_m_security_01", Coords = vector4(593.22, -2973.85, 6.05, 273.95) },
                        [7] = { Model = "s_m_m_security_01", Coords = vector4(597.65, -2952.27, 6.05, 249.71) },
                        [8] = { Model = "s_m_m_security_01", Coords = vector4(625.67, -2963.64, 14.49, 271.41) },
                        [9] = { Model = "s_m_m_security_01", Coords = vector4(625.66, -2966.13, 11.67, 269.59) },
                        [10] = { Model = "s_m_m_security_01", Coords = vector4(626.43, -2961.13, 11.67, 272.80) },
                        [11] = { Model = "s_m_m_security_01", Coords = vector4(593.22, -2973.85, 6.05, 273.95) },
                        [12] = { Model = "s_m_m_security_01", Coords = vector4(597.65, -2952.27, 6.05, 249.71) },
                        [13] = { Model = "s_m_m_security_01", Coords = vector4(625.67, -2963.64, 14.49, 271.41) },
                        [14] = { Model = "s_m_m_security_01", Coords = vector4(625.66, -2966.13, 11.67, 269.59) },
                        [15] = { Model = "s_m_m_security_01", Coords = vector4(626.43, -2961.13, 11.67, 272.80) },
                        [16] = { Model = "s_m_m_security_01", Coords = vector4(593.22, -2973.85, 6.05, 273.95) },
                        [17] = { Model = "s_m_m_security_01", Coords = vector4(597.65, -2952.27, 6.05, 249.71) },
                        [18] = { Model = "s_m_m_security_01", Coords = vector4(625.67, -2963.64, 14.49, 271.41) },
                        [19] = { Model = "s_m_m_security_01", Coords = vector4(625.66, -2966.13, 11.67, 269.59) },
                        [20] = { Model = "s_m_m_security_01", Coords = vector4(626.43, -2961.13, 11.67, 272.80) },
                    }
                },
            },

            Misc = {
                CurrentWave = 0,
                KilledPeds = 0,
                TotalPeds = 0,

                BlipCoords = vector3(636.34, -2965.05, 6.05),
                Heading = 266.61,
                IsRobbed = false,
                IsRobberyActive = false,
                
                -- The amount of items that the player will get as a reward
                RewardsAmount = {
                    Min = 15,
                    Max = 20
                },
            }
        }
    }
}

Last updated