βš™οΈConfiguration

Detailed explanation of the config file to adapt the resource to your player needs.

The config.lua

Config = {}
-- ====================================
--  BASIC SETTINGS
-- ====================================
Config.Debug = true                     -- Enable debug mode (prints detailed logs to console)
Config.Language = 'en'                  -- UI language
-- Available: 'en', 'fr', 'es', 'de', 'it', 'pt', 'pl', 'tr', 'ru', 'ar', 'bg'

Config.Zat = {
    Gangs = false,            -- Enable integration with zat-gangs (if false, will use proximity for mission joining)
    Groups = false,           -- Enable integration with zat-groups (if false, will use proximity for mission joining)
}

-- If you use zat-dialog then don't change anything under Config.NPC (will not be used)
Config.NPC = {                                                      --
    model  = "a_f_y_tennis_01",                                  --
    coords = vector4(-1311.86, -115.1, 47.87, 2.91),                --
    shop   = {
        {
            item = 'fuse_box',
            price = 1200,
        },
        {
            item = 'screwdriverset',
            price = 200,
        },
    }
}   

Config.Robbery = {
    min             = 21,           -- IN Game minimum time to start mission
    max             = 05,           -- IN Game max time to start mission
    cooldown        = 3600,         -- Cooldown time between robberies in seconds. (3600 = 1hour) 
    minimumCops     = 0,            -- Minimum number of cops required to start a robbery. 
    generateTime    = 0,            -- Time in minutes to generate a new robbery mission.
    radius          = 100.0,         -- How near the player must be to the Pharmacy so the Steal Process starts.
    join            = 7.0,          -- If you don't use zat-gangs and zat-groups then only players in the radius of 'join (default 7.0)' when starting the mission will join the mission 
    coords          = vector4(-628.33, -235.38, 38.06, 310.36), -- used for the waypoint
    interval        = 120,            -- 3 Seconds between the electricboxes
    weapons         = {
        'weapon_microsmg',
        'weapon_smg',
        'weapon_assaultsmg',
        'weapon_combatpdw',
        'weapon_machinepistol',
        'weapon_minismg',
        'weapon_smg_mk2',
        'weapon_assaultrifle',
        'weapon_carbinerifle',
        'weapon_advancedrifle',
        'weapon_specialcarbine',
        'weapon_bullpuprifle',
        'weapon_compactrifle',
        'weapon_assaultrifle_mk2',
        'weapon_carbinerifle_mk2',
        'weapon_specialcarbine_mk2',
        'weapon_bullpuprifle_mk2',
        'weapon_gusenberg',
        'weapon_militaryrifle',
        'weapon_heavyrifle',
        'weapon_tacticalrifle',
    },
    bag             = {
        ['mp_m_freemode_01'] = {
            componentId = 5,  -- https://docs.fivem.net/natives/?_0xD4F7B05C (bag is number 5)
            drawableId  = 45,
            default     = 0,  -- to remove it
        },
        ['mp_f_freemode_01'] = {
            componentId = 5,  -- https://docs.fivem.net/natives/?_0xD4F7B05C (bag is number 5)
            drawableId  = 45,
            default     = 0,  -- to remove it
        },
    },
    electricboxes = {
        [1] = {
            coords      = vector4(-626.44, -240.23, 49.83, 215.62), 
            model       = 'tr_prop_tr_elecbox_01a',
            rotation    = vector3(0.0, 0.0, 215.62),
            item        = 'screwdriverset', -- item needed to interact with it
        },
        [2] = {
            coords      = vector4(-612.17, -233.23, 49.84, 209.02),
            model       = 'tr_prop_tr_elecbox_01a',
            rotation    = vector3(0.0, 0.0, 209.02),
            item        = 'screwdriverset', -- item needed to interact with it
        },
    },
    fusebox = {
        [1] = {
            coords      = vector4(-593.97, -284.78, 49.33, 29.89),
            model       = 'reh_prop_reh_b_computer_04a',
            rotation    = vector3(0.0, 0.0, 29.89),
            item        = 'fuse_box', -- item needed to interact with it 
        },
    },
    necklaces = { -- Necklaces Window Locations
        -- Right side
        [1] = {
            coords      = vector4(-620.11, -237.9, 38.27, 151.0),
            rotation    = vector3(0.0, 0.0, 151.0),
            ped         = vector4(-619.9, -237.4, 38.06, 149.29),
            model       = 'prop_j_neck_disp_02',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [2] = {
            coords      = vector4(-618.52, -238.25, 38.27, -179.0),
            rotation    = vector3(0.0, 0.0, -179.0),
            ped         = vector4(-618.59, -237.74, 38.06, 183.35),
            model       = 'prop_j_neck_disp_01',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [3] = {
            coords      = vector4(-617.02, -237.71, 38.27, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-617.38, -237.36, 38.06, 220.12),
            model       = 'prop_j_neck_disp_03',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [4] = {
            coords      = vector4(-616.02, -236.43, 38.27, -114.0),
            rotation    = vector3(0.0, 0.0, -114.0),
            ped         = vector4(-616.54, -236.26, 38.06, 248.18),
            model       = 'prop_j_neck_disp_02',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [5] = {
            coords      = vector4(-615.89, -234.85, 38.27, -79.0),
            rotation    = vector3(0.0, 0.0, -79.0),
            ped         = vector4(-616.39, -234.98, 38.06, 279.02),
            model       = 'prop_j_neck_disp_01',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        -- Left side
        [6] = {
            coords      = vector4(-628.25, -226.66, 38.27, 101.0),
            rotation    = vector3(0.0, 0.0, 101.0),
            ped         = vector4(-627.73, -226.5, 38.06, 102.46),
            model       = 'prop_j_neck_disp_03',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [7] = {
            coords      = vector4(-628.11, -225.07, 38.27, 66.0),
            rotation    = vector3(0.0, 0.0, 66.0),
            ped         = vector4(-627.59, -225.21, 38.06, 70.43),
            model       = 'prop_j_neck_disp_01',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [8] = {
            coords      = vector4(-627.11, -223.79, 38.27, 36.0),
            rotation    = vector3(0.0, 0.0, 36.0),
            ped         = vector4(-626.79, -224.2, 38.06, 37.52),
            model       = 'prop_j_neck_disp_02',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [9] = {
            coords      = vector4(-625.61, -223.25, 38.27, 6.0),
            rotation    = vector3(0.0, 0.0, 6.0),
            ped         = vector4(-625.49, -223.77, 38.06, 8.05),
            model       = 'prop_j_neck_disp_03',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
        [10] = {
            coords      = vector4(-624.04, -223.61, 38.27, -29.0),
            rotation    = vector3(0.0, 0.0, -29.0),
            ped         = vector4(-624.31, -224.09, 38.06, 324.45),
            model       = 'prop_j_neck_disp_01',
            empty       = 'prop_j_neck_disp_empty',
            offset      = 0.11,
            reward      = 
            {
                {name = 'vh_gold_necklace',         min = 1, max = 1, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 1, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
            }
        },
    },
    disptrays = { -- Tray Locations
        -- Left side
        [1] = {
            coords      = vector4(-619.85, -234.91, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-620.43, -234.22, 38.06, 217.92),
            model       = 'des_jewel_cab_start',
            empty       = 'des_jewel_cab_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [2] = {
            coords      = vector4(-618.8, -234.15, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-619.4, -233.52, 38.06, 217.71),
            model       = 'des_jewel_cab3_start',
            empty       = 'des_jewel_cab3_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [3] = {
            coords      = vector4(-625.28, -238.29, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-625.96, -237.43, 38.06, 211.36),
            model       = 'des_jewel_cab3_start',
            empty       = 'des_jewel_cab3_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [4] = {
            coords      = vector4(-626.32, -239.05, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-626.88, -238.43, 38.06, 219.16),
            model       = 'des_jewel_cab2_start',
            empty       = 'des_jewel_cab2_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [5] = {
            coords      = vector4(-617.09, -230.16, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-617.77, -230.68, 38.06, 305.69),
            model       = 'des_jewel_cab2_start',
            empty       = 'des_jewel_cab2_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [6] = {
            coords      = vector4(-617.85, -229.11, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-618.63, -229.76, 38.06, 300.48),
            model       = 'des_jewel_cab3_start',
            empty       = 'des_jewel_cab3_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [7] = {
            coords      = vector4(-619.2, -227.25, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-619.97, -227.83, 38.06, 304.67),
            model       = 'des_jewel_cab2_start',
            empty       = 'des_jewel_cab2_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [8] = {
            coords      = vector4(-619.97, -226.2, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-620.65, -226.83, 38.06, 302.64),
            model       = 'des_jewel_cab_start',
            empty       = 'des_jewel_cab_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [9] = {
            coords      = vector4(-624.28, -226.61, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-623.73, -227.23, 38.06, 35.15),
            model       = 'des_jewel_cab4_start',
            empty       = 'des_jewel_cab4_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [10] = {
            coords      = vector4(-625.33, -227.37, 37.65, 36.0),
            rotation    = vector3(0.0, 0.0, 36.0),
            ped         = vector4(-624.68, -228.06, 38.06, 34.43),
            model       = 'des_jewel_cab3_start',
            empty       = 'des_jewel_cab3_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [11] = {
            coords      = vector4(-626.16, -234.13, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-625.64, -234.8, 38.06, 37.91),
            model       = 'des_jewel_cab4_start',
            empty       = 'des_jewel_cab4_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [12] = {
            coords      = vector4(-627.21, -234.89, 37.65, 36.0),
            rotation    = vector3(0.0, 0.0, 36.0),
            ped         = vector4(-626.63, -235.48, 38.06, 27.19),
            model       = 'des_jewel_cab3_start',
            empty       = 'des_jewel_cab3_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [13] = {
            coords      = vector4(-627.59, -234.37, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-628.08, -233.84, 38.06, 210.76),
            model       = 'des_jewel_cab_start',
            empty       = 'des_jewel_cab_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [14] = {
            coords      = vector4(-626.54, -233.6, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-627.04, -233.07, 38.06, 214.66),
            model       = 'des_jewel_cab_start',
            empty       = 'des_jewel_cab_end',
            offset      = 0.6,
            extra       = {}, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [15] = {
            coords      = vector4(-622.62, -232.56, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-623.35, -233.1, 38.06, 305.93),
            model       = 'des_jewel_cab_start',
            empty       = 'des_jewel_cab_end',
            offset      = 0.6,
            extra       = {
                {
                    p_start = 'prop_j_disptray_04',
                    p_end   = 'prop_j_disptray_04_empty',
                    offset  = 0.14,
                },
                {
                    p_start = 'prop_j_disptray_05',
                    p_end   = 'prop_j_disptray_05_empty',
                    offset  = 0.14,
                },
            }, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [16] = {
            coords      = vector4(-623.96, -230.73, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-624.67, -231.22, 38.06, 302.41),
            model       = 'des_jewel_cab4_start',
            empty       = 'des_jewel_cab4_end',
            offset      = 0.6,
            extra       = {
                {
                    p_start = 'prop_j_disptray_04',
                    p_end   = 'prop_j_disptray_04_empty',
                    offset  = 0.14,
                },
                {
                    p_start = 'prop_j_disptray_05',
                    p_end   = 'prop_j_disptray_05_empty',
                    offset  = 0.14,
                },
            }, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [17] = {
            coords      = vector4(-623.61, -228.62, 37.65, -144.0),
            rotation    = vector3(0.0, 0.0, -144.0),
            ped         = vector4(-624.36, -227.86, 38.06, 214.65),
            model       = 'des_jewel_cab2_start',
            empty       = 'des_jewel_cab2_end',
            offset      = 0.6,
            extra       = {
                {
                    p_start = 'prop_j_disptray_04',
                    p_end   = 'prop_j_disptray_04_empty',
                    offset  = 0.14,
                },
                {
                    p_start = 'prop_j_disptray_05',
                    p_end   = 'prop_j_disptray_05_empty',
                    offset  = 0.14,
                },
            }, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [18] = {
            coords      = vector4(-621.52, -228.95, 37.65, 126.0),
            rotation    = vector3(0.0, 0.0, 126.0),
            ped         = vector4(-620.81, -228.3, 38.06, 131.21),
            model       = 'des_jewel_cab3_start',
            empty       = 'des_jewel_cab3_end',
            offset      = 0.6,
            extra       = {
                {
                    p_start = 'prop_j_disptray_04',
                    p_end   = 'prop_j_disptray_04_empty',
                    offset  = 0.14,
                },
                {
                    p_start = 'prop_j_disptray_05',
                    p_end   = 'prop_j_disptray_05_empty',
                    offset  = 0.14,
                },
            }, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [19] = {
            coords      = vector4(-620.18, -230.79, 37.65, 126.0),
            rotation    = vector3(0.0, 0.0, 126.0),
            ped         = vector4(-619.4, -230.13, 38.06, 125.88),
            model       = 'des_jewel_cab_start',
            empty       = 'des_jewel_cab_end',
            offset      = 0.6,
            extra       = {
                {
                    p_start = 'prop_j_disptray_04',
                    p_end   = 'prop_j_disptray_04_empty',
                    offset  = 0.14,
                },
                {
                    p_start = 'prop_j_disptray_05',
                    p_end   = 'prop_j_disptray_05_empty',
                    offset  = 0.14,
                },
            }, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
        [20] = {
            coords      = vector4(-620.52, -232.88, 37.65, -54.0),
            rotation    = vector3(0.0, 0.0, -54.0),
            ped         = vector4(-619.95, -233.62, 38.06, 32.41),
            model       = 'des_jewel_cab4_start',
            empty       = 'des_jewel_cab4_end',
            offset      = 0.6,
            extra       = {
                {
                    p_start = 'prop_j_disptray_04',
                    p_end   = 'prop_j_disptray_04_empty',
                    offset  = 0.14,
                },
                {
                    p_start = 'prop_j_disptray_05',
                    p_end   = 'prop_j_disptray_05_empty',
                    offset  = 0.14,
                },
            }, -- if there is some extra objects to remove
            rewards     = 
            {
                {name = 'vh_gold_necklace',         min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_necklace',       min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_necklace',      min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_gold_ring',             min = 2, max = 3, info = {}, chance = 60},
                {name = 'vh_silver_ring',           min = 1, max = 3, info = {}, chance = 80},
                {name = 'vh_diamond_ring',          min = 1, max = 1, info = {}, chance = 10},
                {name = 'vh_luxury_watch',          min = 2, max = 3, info = {}, chance = 80},
                {name = 'vh_gold_watch',            min = 1, max = 3, info = {}, chance = 60},
                {name = 'vh_diamond_watch',         min = 1, max = 2, info = {}, chance = 40},
                {name = 'vh_platinum_bracelet',     min = 1, max = 1, info = {}, chance = 20},
            }
        },
    },
    doors  = {
        main    = 'vang_door_1',
        office  = 'vang_door_2'
    },
    office = {
        numpad      = vector4(-629.41, -230.42, 38.55, 0.0),
        ped         = vector4(-628.87, -230.91, 38.06, 40.9),
    },
    codes  = {
        coords = { -- will be a random coords from these
            vector4(-622.23, -229.21, 37.93, 331.21),
            vector4(-616.42, -232.02, 38.03, 174.34),
            vector4(-627.50, -229.29, 38.03, 41.02),
            vector4(-630.80, -231.61, 38.03, 106.32),
            vector4(-625.72, -225.41, 38.04, 356.26),
            vector4(-621.61, -225.07, 38.04, 11.89),
            vector4(-618.43, -235.77, 38.03, 105.53),
        },
        model = { -- will be a random model from these
            'xm3_prop_xm3_code_28_03_98',
            'xm3_prop_xm3_code_01_23_45',
            'xm3_prop_xm3_code_44_23_37',
            'xm3_prop_xm3_code_77_79_73',
            'xm3_prop_xm3_code_02_12_87',
            'xm3_prop_xm3_code_05_02_91',
            'xm3_prop_xm3_code_28_11_97',
            'xm3_prop_xm3_code_24_10_81',
            'xm3_prop_xm3_code_72_68_83',
            'xm3_prop_xm3_code_73_27_38',
        }
    },
    paper  = {
        model = 'prop_amanda_note_01',
        coords = vector4(-630.76, -230.29, 37.98, 350.78)
    },
    safe  = {
        model    = 'h4_prop_h4_safe_01a',
        open     = 'h4_prop_h4_safe_01b',
        coords   = vector4(-630.98, -228.17, 37.06, 34.65),
        rewards  = {
            [1] = {
                model   = 'prop_gold_bar',
                coords = vector4(-630.95, -227.97, 38.12, 99.86),  
                rot    = nil,
                item   = 'goldbar',
                min    = 1, -- min amount
                max    = 1, -- max amount
                info   = {},
            },
            [2] = {
                model   = 'prop_gold_bar',
                coords = vector4(-630.94, -228.25, 38.12, 28.55),  
                rot    = nil,
                item   = 'goldbar',
                min    = 1, -- min amount
                max    = 1, -- max amount
                info   = {},
            },
            [3] = {
                model   = 'prop_gold_bar',
                coords = vector4(-630.82, -228.10, 38.12, 352.43),  
                rot    = nil,
                item   = 'goldbar',
                min    = 1, -- min amount
                max    = 1, -- max amount
                info   = {},
            },
            [4] = {
                model   = 'prop_poly_bag_money',
                coords = vector4(-630.75, -228.30, 37.18, 9.70),  
                rot    = nil,
                item   = 'rollcash',
                min    = 3, -- min amount
                max    = 5, -- max amount
                info   = {},
            },
        }
    }
}

Config.Fence  = {
    -- no need to spawn another ped we will use the same we started the mission from just we will precise item names and prices
    -- fell free to add, remove items and adjust prices
    ['vh_gold_necklace'] = 800,
    ['vh_silver_necklace'] = 400,
    ['vh_diamond_necklace'] = 1200,
    ['vh_gold_ring'] = 800,
    ['vh_silver_ring'] = 400,
    ['vh_diamond_ring'] = 1200,
    ['vh_luxury_watch'] = 400,
    ['vh_gold_watch'] = 800,
    ['vh_diamond_watch'] = 1200,
    ['vh_platinum_bracelet'] = 1500,
}

Last updated