pScripts
  • INFORMATION
    • FiveM Asset Escrow System
    • Assets Updates
    • Discord Roles
  • Assets & Guides
    • 👨‍⚖️DOJ Job
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 💻DOJ MDT
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 🌿Weed Plants
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 🚗Car Sale Job
      • 👋Installation Guide
      • ⚙️Config File
      • Client Exports
      • Server Exports
    • 📙Job Core
      • ⚙️Config File
      • Exports
    • 👮Police Job
      • 👋Installation Guide
      • ⚠️Common Issues
      • ⁉️Setup Server
      • ⚙️Config Files
      • Client Exports
        • Bodycam
        • Evidence System
        • Duty GPS
        • Interactions
        • Jail System
        • Police Objects
        • Speed Camera
        • Manage Traffic
        • Misc
      • Server Exports
        • Evidence System
        • Interactions
        • Jail System
        • Misc
    • 💻Police MDT
      • ⁉️Setup Server
      • ⚙️Config File
      • Client Exports
      • Server Exports
      • Dispatch System
    • 🚑Ambulance Job
      • 👋Installation Guide
      • ⁉️Setup Server
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 💻Ambulance MDT
      • 👋Installation Guide
      • ⚙️Config File
      • Exports and Events
      • Dispatch System
    • 🛠️Mechanic Job
      • ⚙️Config Files
      • Mileage System
      • Nitro System
      • Lifters System
      • Misc
    • 💻Mechanic MDT
      • ⚙️Config File
      • Exports
      • Dispatch System
      • Licenses System
    • 💵Fleeca Robbery
      • 👋Installation Guide
      • ⚙️Config File
    • ⌚Jewelry Robbery
      • 👋Installation Guide
      • ⚙️Config File
    • 💇Appearance
      • ⚙️Config Files
      • Client Exports
    • 👀Hints
      • Exports
    • 👋Helper
      • Exports
    • 🔧Tuning Menu
      • Exports and Events
      • ⚙️Config Files
    • 🆔Documents
      • ⚙️Config File
      • Exports and Events
    • 📱Phone
      • ⤵️INSTALLATION
      • ⚙️CONFIG FILES
      • 📃FEATURES
      • 📱APPS
      • 📇SIM CARDS
      • 📳NOTIFICATIONS
      • 📨MESSAGES
      • 🚘GARAGES
      • 🪙CRYPTO
      • 🔪DARK CONNECT
      • ⌨️FUNCTIONS
      • 🌎LANGUAGE
      • ⚠️COMMON ISSUES
    • 🪙Casino Games
      • 🎰Slot Machine
      • 🏐Roulette
      • ♣️Poker
    • 💻GCT
      • 📨EXPORTS
    • 💻Civil MDT
      • ⤵️INSTALLATION
      • 📱APPS
      • 🏎️BOOSTING
      • 🏅ACHIEVEMENTS
      • ⚠️COMMON ISSUES
Powered by GitBook
On this page
  1. Assets & Guides
  2. Jewelry Robbery

Config File

Config = {}

Config.Language = 'en' -- pl / en
Config.Framework = 'ESX' -- ESX / QB / QBOX / ND / OX
Config.Inventory = 'ox_inventory' -- ox_inventory / qs-inventory / qb-inventory 
Config.Target = 'ox_target' -- ox_target / qb-target / 3dtext (change for your export in target/3dtext.lua)
Config.Debug = false -- debug targets / prints

Config.Settings = {
    requiredCops = 0, -- need 2 cops online / onduty to start heist
    policeJobs = {
        ['police'] = true,
    },
    Cooldown = 30, -- cooldown in minutes
    maxStartFails = 3, -- after 3 fails script will be locked to next cooldown
    requiredSmashWeapons = { -- any of these items is required in hand
        ['WEAPON_PISTOL'] = true,
        ['WEAPON_CROWBAR'] = true,
        ['WEAPON_CARBINERIFLE'] = true,
        ['WEAPON_COMBATPISTOL'] = true,
        ['WEAPON_BAT'] = true,
    },
    policeAlert = function(playerId) -- ignore playerId if you set alertSide to client
        if GetResourceState('piotreq_gpt') == 'started' then
            exports['piotreq_gpt']:SendAlert(playerId, {
                title = 'Jewelry Robbery',
                code = '10-90',
                icon = 'fa-solid fa-mask',
                info = {
                   {icon = 'fa-solid fa-road', isStreet = true},
                   {icon = 'fa-solid fa-triangle-exclamation', data = 'Very Danger'},
                },
                jobs = {['police'] = true}, -- optional
                blip = { -- optional
                   scale = 1.1,
                   sprite = 1,
                   category = 3, -- default 1
                   color = 1,
                   hidden = false, -- default false (hidden on legend)
                   priority = 5, -- default 5
                   short = true, -- as short range? default true
                   alpha = 200, -- default 255
                   name = "Jewelry Robbery"
                },
                type = 'risk', -- default normal
                canAnswer = false,
                maxOfficers = 8,
                time = 15,
                notifyTime = 15000,
            })
        end
    end,
    alertSide = 'server' -- server / client
}

Config.Starts = { -- you can add how much you want start points :D
    [1] = {
        model = 'm24_1_prop_m41_circuitbox_01a',
        objPos = vector3(-630.361, -216.668, 53.8952),
        objRot = vector3(0, 0, 209.8506),
        onSelect = function()
            scenes.playElectricScene(1)
        end,
        requiredItems = { -- remove if you dont want required items
            ['cutters'] = 1, -- set to 0 if player just require item but not remove
        },
        removeItems = 2, -- 1 = removing items on start hacking, 2 = removing items on finished succesfully hacking
        miniGame = function() -- set to return true if you dont want minigame
            return exports['p_minigames']:StartGame('WordsGame', {
                wordsAmount = 7,
                readyTime = 3500,
                gameTime = 10000
            })
        end,
        doorId = 108 -- DOOR ID FROM OX_DOORLOCK
    }
}

Config.SmashScenes = {
    {
        objPos = vector3(-626.6567, -232.5007, 37.2946),
        scenePos = vector3(-626.1913, -233.1814, 37.0570),
        sceneRot = vector3(0.0, 0.0, 35.68),
        oldModel = 'fm_jewelry_glass_base_02a',
        newModel = 'fm_jewelry_glass_break_02a',
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_02a', clip = 'fm_jewelry_glass_break_02a'}
        },
        forceCoords = vector3(-626.193603515625, -232.76646423339844, 38.2273745727539),
        forceRotation = vector3(0.0, 0.0, 35.54586791992187),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-625.3121, -234.6770, 37.4143),
        scenePos = vector3(-625.6816, -233.7957, 37.0570),
        sceneRot = vector3(0.0, 0.0, 215.5879),
        oldModel = 'fm_jewelry_glass_base_02a',
        newModel = 'fm_jewelry_glass_break_02a',
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_02a', clip = 'fm_jewelry_glass_break_02a'}
        },
        forceCoords = vector3(-624.68896484375, -234.82664489746097, 38.2273745727539),
        forceRotation = vector3(0.0, 0.0, 36.40428924560547),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-623.1915, -230.0228, 37.3144),
        scenePos = vector3(-622.7062, -230.5246, 37.0570),
        sceneRot = vector3(0.0, 0.0, 35.6363),
        oldModel = 'fm_jewelry_glass_base_02a',
        newModel = 'fm_jewelry_glass_break_02a',
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_02a', clip = 'fm_jewelry_glass_break_02a'}
        },
        forceCoords = vector3(-622.6549072265625, -230.19810485839844, 38.2273745727539),
        forceRotation = vector3(0.0, 0.0, 36.16897201538086),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-621.5810, -231.9753, 37.3144),
        scenePos = vector3(-622.1031, -231.3344, 37.0570),
        sceneRot = vector3(0.0, 0.0, 214.9111),
        oldModel = 'fm_jewelry_glass_base_02a',
        newModel = 'fm_jewelry_glass_break_02a',
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_02a', clip = 'fm_jewelry_glass_break_02a'}
        },
        forceCoords = vector3(-621.1630859375, -232.2523651123047, 38.2273745727539),
        forceRotation = vector3(0.0, 0.0, 35.71236038208008),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-627.5658, -229.9242, 37.5373),
        scenePos = vector3(-627.1422, -230.6513, 37.0569),
        sceneRot = vector3(0.0, 0.0, 35.8343),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_01'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_01'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-627.6508178710938, -229.9907684326172, 38.20826721191406),
        forceRotation = vector3(0.0, 0.0, 35.79491806030273),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-630.0561, -229.3356, 37.5373),
        scenePos = vector3(-630.5294, -230.0039, 37.0569),
        sceneRot = vector3(0.0, 0.0, 305.7492),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_02'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_02'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-629.9158325195312, -229.55433654785156, 38.20826721191406),
        forceRotation = vector3(0, 0, -54.24161911010742),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-624.6998, -225.9731, 37.5373),
        scenePos = vector3(-624.0883, -225.4076, 37.0730),
        sceneRot = vector3(0.0, 0.0, 124.1331),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_04'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_04'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-624.80810546875, -225.8990936279297, 38.20826721191406),
        forceRotation = vector3(0, 0, -53.79391479492187),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-625.016846, -228.216171, 37.842392),
        scenePos = vector3(-624.6187, -228.7831, 37.0569),
        sceneRot = vector3(0.0, 0.0, 32.4044),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_03'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_03'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-625.1351928710938, -228.1643218994141, 38.28003814697265),
        forceRotation = vector3(0.0, 0.0, 36.30874252319336),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-620.578308, -227.893600, 37.542392),
        scenePos = vector3(-621.2159, -228.2920, 37.0569),
        sceneRot = vector3(0.0, 0.0, 306.9117),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_01'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_01'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-620.5635986328125, -227.8588104248047, 38.19875335693359),
        forceRotation = vector3(0, 0, -54.54462051391601),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-618.901062, -230.343689, 37.542392),
        scenePos = vector3(-619.4292, -230.6732, 37.0569),
        sceneRot = vector3(0.0, 0.0, 303.3057),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_01'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_01'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-618.84912109375, -230.2201385498047, 38.1966438293457),
        forceRotation = vector3(0, 0, -53.84943389892578),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-618.266418, -234.812469, 37.542392),
        scenePos = vector3(-617.6854, -234.4640, 37.0577),
        sceneRot = vector3(0.0, 0.0, 126.1107),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_02'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_02'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-618.2720947265625, -234.8756103515625, 38.24592971801758),
        forceRotation = vector3(0, 0, -54.1225700378418),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-620.704468, -234.438705, 37.542392),
        scenePos = vector3(-621.0535, -233.8675, 37.0569),
        sceneRot = vector3(0.0, 0.0, 214.2593),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_01'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_01'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-620.5452270507812, -234.47044372558597, 38.20980072021484),
        forceRotation = vector3(0, 0, 35.89695358276367),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-623.143005, -236.231949, 37.542392),
        scenePos = vector3(-623.5632, -235.6377, 37.0531),
        sceneRot = vector3(0.0, 0.0, 216.3938),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_03'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_03'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-623.0579833984375, -236.2956695556641, 38.23158645629883),
        forceRotation = vector3(0, 0, 36.18042755126953),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-623.449280, -238.692276, 37.542392),
        scenePos = vector3(-624.0198, -239.0525, 37.0569),
        sceneRot = vector3(0.0, 0.0, 305.2465),
        oldModels = {'fm_jewelry_glass_base_01a', 'fm_jewelry_cab_base_02'},
        newModels = {'fm_jewelry_glass_break_01a', 'fm_jewelry_cab_rob_02'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-623.378662109375, -238.57635498046875, 38.24504470825195),
        forceRotation = vector3(0, 0, -53.56122589111328),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-624.588135, -240.972870, 37.621619),
        scenePos = vector3(-625.0020, -240.4143, 37.0569),
        sceneRot = vector3(0.0, 0.0, 215.4416),
        oldModel = 'fm_jewelry_glass_base_01a',
        newModel = 'fm_jewelry_glass_break_01a',
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-624.5537719726562, -240.99713134765625, 38.18840026855469),
        forceRotation = vector3(0, 0, 35.91286849975586),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-632.523865, -229.997025, 37.621619),
        scenePos = vector3(-632.0827, -230.6065, 37.0569),
        sceneRot = vector3(0.0, 0.0, 36.4527),
        oldModel = 'fm_jewelry_glass_base_01a',
        newModel = 'fm_jewelry_glass_break_01a',
        animations = {
            [1] = {dict = 'anim@fm_jewelry_glass_break_01a', clip = 'fm_jewelry_glass_break_01a'}
        },
        forceCoords = vector3(-632.6150512695312, -229.9695281982422, 38.17478561401367),
        forceRotation = vector3(0, 0, 35.69045257568359),
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
}

Config.WallScenes = {
    {
        objPos = vector3(-618.028442, -237.010483, 38.456520),
        scenePos = vector3(-617.0008, -238.5003, 37.0569),
        sceneRot = vector3(0.0, 0.0, 214.5844),
        oldModels = {'fm_jewelry_r01_wall_doors_closed', 'fm_jewelry_wal_cab_base_02'},
        newModels = {'fm_jewelry_r01_wall_doors_open', 'fm_jewelry_wal_cab_rob_02'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_r01_wall_doors_open', clip = 'fm_jewelry_r01_wall_doors_open'}
        },
        requiredItems = {
            ['grinder'] = 0 -- set to 1 if you want to remove item
        },
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-619.819153, -238.125229, 38.453445),
        scenePos = vector3(-618.6109, -239.7505, 37.0569),
        sceneRot = vector3(0.0, 0.0, 214.5161),
        oldModels = {'fm_jewelry_r01_wall_doors_closed', 'fm_jewelry_wal_cab_base_01'},
        newModels = {'fm_jewelry_r01_wall_doors_open', 'fm_jewelry_wal_cab_rob_01'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_r01_wall_doors_open', clip = 'fm_jewelry_r01_wall_doors_open'}
        },
        requiredItems = {
            ['grinder'] = 0
        },
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-621.533142, -239.370499, 38.410187),
        scenePos = vector3(-620.4733, -241.0237, 37.0569),
        sceneRot = vector3(0.0, 0.0, 213.0649),
        oldModels = {'fm_jewelry_r01_wall_doors_closed', 'fm_jewelry_wal_cab_base_03'},
        newModels = {'fm_jewelry_r01_wall_doors_open', 'fm_jewelry_wal_cab_rob_03'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_r01_wall_doors_open', clip = 'fm_jewelry_r01_wall_doors_open'}
        },
        requiredItems = {
            ['grinder'] = 0
        },
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-630.093933, -227.519302, 38.456520),
        scenePos = vector3(-631.1825, -226.0561, 37.0569),
        sceneRot = vector3(0.0, 0.0, 35.0465),
        oldModels = {'fm_jewelry_r01_wall_doors_closed', 'fm_jewelry_wal_cab_base_02'},
        newModels = {'fm_jewelry_r01_wall_doors_open', 'fm_jewelry_wal_cab_rob_02'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_r01_wall_doors_open', clip = 'fm_jewelry_r01_wall_doors_open'}
        },
        requiredItems = {
            ['grinder'] = 0
        },
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-628.450134, -226.249359, 38.456520),
        scenePos = vector3(-629.5706, -224.6652, 37.0569),
        sceneRot = vector3(0.0, 0.0, 35.0465),
        oldModels = {'fm_jewelry_r01_wall_doors_closed', 'fm_jewelry_wal_cab_base_01'},
        newModels = {'fm_jewelry_r01_wall_doors_open', 'fm_jewelry_wal_cab_rob_01'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_r01_wall_doors_open', clip = 'fm_jewelry_r01_wall_doors_open'}
        },
        requiredItems = {
            ['grinder'] = 0
        },
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
    {
        objPos = vector3(-626.745178, -225.043900, 38.456520),
        scenePos = vector3(-627.8875, -223.4428, 37.0569),
        sceneRot = vector3(0.0, 0.0, 35.0465),
        oldModels = {'fm_jewelry_r01_wall_doors_closed', 'fm_jewelry_wal_cab_base_03'},
        newModels = {'fm_jewelry_r01_wall_doors_open', 'fm_jewelry_wal_cab_rob_03'},
        animations = {
            [1] = {dict = 'anim@fm_jewelry_r01_wall_doors_open', clip = 'fm_jewelry_r01_wall_doors_open'}
        },
        requiredItems = {
            ['grinder'] = 0
        },
        rewards = {
            ['pouch_bag'] = {min = 1, max = 5}
        }
    },
}

Config.KeyPads = {
    {
        model = 'prop_ld_keypad_01',
        objPos = vector3(-615.703, -235.275, 38.436),
        objRot = vector3(0, 0, -144.0575408935547),
        doorId = 105,
        requiredItems = {
            ['phone'] = 1,
            ['usb_black'] = 1
        },
        removeItems = 1, -- 1 = remove items on start hack, 2 = remove items on finished successfully hack
        miniGame = function() -- set return true if you dont want minigame
            return exports['p_minigames']:StartGame('BeatGame', {
                keysAmount = 15,
                keys = {'W', 'S', 'A', 'D'},
                maxFails = 3,
                readyTime = 2500
            })
        end
    },
    {
        model = 'prop_ld_keypad_01',
        objPos = vector3(-616.4713134765625, -236.66580200195312, 38.40970840454101),
        objRot = vector3(0, 0, 125.31961822509766),
        doorId = 106,
        requiredItems = {
            ['phone'] = 1,
            ['usb_green'] = 1
        },
        removeItems = 1, -- 1 = remove items on start hack, 2 = remove items on finished successfully hack
        miniGame = function() -- set return true if you dont want minigame
            return exports['p_minigames']:StartGame('MathGame', {
                preset = 'easy',
                questionsAmount = 20,
                maxFails = 3,
                fallTime = 5000
            })
        end
    },
}

Config.Glass = {
    coords = vector4(-624.2476, -232.3161, 37.0569, -55.217), -- remove coords if you dont want to spawn glass
    displayPos = vector3(-624.2476, -232.3161, 38.0869),
    rewardPos = vector3(-624.2476, -232.3161, 38.0869),
    rewardRot = vector3(360.0, 0.0, -55.217),
    miniGame = function() -- set return true if you dont want minigame
        return lib.skillCheck({'medium', 'medium', {areaSize = 60, speedMultiplier = 2}, 'medium'}, {'1', '2', '3', '4'})
    end,
    requiredItems = {
        ['glass_drill'] = 1
    },
    removeItems = 2, -- 1 = removing items on start hacking, 2 = removing items on finished succesfully hacking
    maxFails = 2,
    rewards = {
        {
            object = {model = 'h4_prop_h4_diamond_01a', offset = vector3(0.0, 0.0, 0.0)},
            displayObj = {model = 'h4_prop_h4_diamond_disp_01a', rotation = vector3(360.0, 0.0, 70.0)},
            item = 'jewelry_diamond',
        },
        {
            object = {model = 'h4_prop_h4_art_pant_01a', offset = vector3(0.0, 0.0, 0.225)},
            displayObj = {model = 'h4_prop_h4_diamond_disp_01a', rotation = vector3(360.0, 0.0, 70.0)},
            item = 'jewelry_panther',
        },
        {
            object = {model = 'h4_prop_h4_necklace_01a', offset = vector3(0.0, 0.0, 0.015)},
            displayObj = {model = 'h4_prop_h4_neck_disp_01a', rotation = vector3(360.0, 0.0, -60.0)},
            item = 'jewelry_necklace',
        },
        {
            object = {model = 'h4_prop_h4_t_bottle_02b', offset = vector3(0.0, 0.0, 0.25)},
            displayObj = {model = 'h4_prop_h4_diamond_disp_01a', rotation = vector3(360.0, 0.0, 70.0)},
            item = 'jewelry_bottle',
        },
    }
}

Config.Guards = {
    {
        model = 'ig_fbisuit_01',
        weapon = 'WEAPON_COMBATPISTOL',
        coords = vector4(-629.8420, -228.5000, 38.0727, 170.8042),
        accuracy = 10, -- 0 - 100
        armour = 20, -- 0 - 100
        headshot = false -- headshot doesnt affect more damage
    },
    {
        model = 's_m_m_fiboffice_01',
        weapon = 'WEAPON_COMBATPISTOL',
        coords = vector4(-625.5933, -240.5637, 38.0569, 43.2308),
        accuracy = 10, -- 0 - 100
        armour = 20, -- 0 - 100
        headshot = false -- headshot doesnt affect more damage
    },
    {
        model = 's_m_m_fiboffice_01',
        weapon = 'WEAPON_COMBATPISTOL',
        coords = vector4(-620.3327, -235.6249, 38.0727, 88.4913),
        accuracy = 10, -- 0 - 100
        armour = 20, -- 0 - 100
        headshot = false -- headshot doesnt affect more damage
    },
    {
        model = 'ig_fbisuit_01',
        weapon = 'WEAPON_COMBATPISTOL',
        coords = vector4(-618.2211, -229.3623, 38.0728, 127.3336),
        accuracy = 10, -- 0 - 100
        armour = 20, -- 0 - 100
        headshot = false -- headshot doesnt affect more damage
    },
}

Config.Trollys = { -- if you dont want trollys, just remove all
    {
        coords = vector3(-619.8903198242188, -240.6179962158203, 37.52056503295898),
        rotation = vector3(0, 0, -55.11785507202148),
        trollyModel = 'hei_prop_hei_cash_trolly_03',
        rewardModel = 'h4_prop_h4_cash_stack_01a',
        rewardOffset = vector3(0.0, 0.0, 0.4),
        rewardRot = vector3(0, 0, -235.11785507202148),
        animDict = 'anim@scripted@heist@ig1_table_grab@cash@male@',
        animClip = 'grab_cash',
        reward = {item = 'black_money', min = 1000, max = 10000}
    },
    {
        coords = vector3(-612.7965087890625, -236.7281951904297, 37.51507949829101),
        rotation = vector3(0, 0, 34.63991165161133),
        trollyModel = 'hei_prop_hei_cash_trolly_03',
        rewardModel = 'h4_prop_h4_gold_stack_01a',
        rewardOffset = vector3(0.0, 0.0, 0.4),
        rewardRot = vector3(0, 0, -145.0),
        animDict = 'anim@scripted@heist@ig1_table_grab@gold@male@',
        animClip = 'grab_gold',
        reward = {item = 'gold', min = 10, max = 13}
    },
}

Config.ToxicGas = {
    target = {
        coords = vec3(-615.46, -238.24, 38.6),  -- if you dont want toxic gas, just remove argument coords
        size = vec3(0.3, 0.1, 0.4),
        rotation = 306.0,
    },
    timeout = 600, -- time in seconds from opening main doors when gas will start
    sceneCoords = vector4(-615.3541, -238.2325, 38.4569, 303.5387),
    miniGame = function()
        return exports['p_minigames']:StartGame('MemorizeGame', {
            amount = 4,
            rememberTime = 3000,
            answerTime = 7500,
            readyTime = 2500
        })
    end,
    requiredItems = {
        ['phone'] = 1,
        ['usb_purple'] = 1
    },
    removeItems = 2, -- 1 = removing items on start hacking, 2 = removing items on finished succesfully hacking
    points = {
        vector3(-622.4191, -223.3812, 39.0569),
        vector3(-633.4329, -231.6280, 39.0569),
        vector3(-626.7808, -241.4813, 39.0569)
    }
}

Config.Safe = {
    coords = vector4(-617.7208251953125, -243.1656188964844, 37.05937957763672, -144.4503173828125),
    codeLength = 6,
    miniGame = function(correctCode) -- if you dont want minigame just change to return true
        local game = exports['p_jewelryrobbery']:OpenKeyPad(correctCode)
        return game
    end,
    requiredItems = { -- remove requiredItems if you dont want required item
        ['lockpick'] = 1
    },
    removeItems = 2, -- 1 = removing items on start hacking, 2 = removing items on finished succesfully hacking
    rewards = {
        {item = 'black_money', min = 1000, max = 10000, chance = 90},
    },
}

Config.PawnShops = { -- you can add more pawn shops here
    {
        coords = vector4(1470.3854, 1137.0861, 114.3227, 89.1361),
        ped = {
            model = 's_m_y_dealer_01',
            anim = {
                dict = 'mp_fm_intro_cut',
                clip = 'idle_a',
                flag = 1
            }
        },
        items = {
            ['gold'] = {
                price = 100,
                trade = {
                    ['usb_purple'] = 1,
                }
            },
            ['pouch_bag'] = {
                price = 100,
                trade = {
                    ['usb_green'] = 1,
                }
            },
            ['jewelry_panther'] = {
                price = 2500,
                trade = {
                    ['usb_green'] = 1,
                    ['usb_purple'] = 1,
                }
            },
            ['jewelry_necklace'] = {
                price = 2800,
                trade = {
                    ['usb_green'] = 1,
                    ['usb_purple'] = 1,
                }
            },
            ['jewelry_diamond'] = {
                price = 3500,
                trade = {
                    ['usb_green'] = 1,
                    ['usb_purple'] = 1,
                }
            },
            ['jewelry_bottle'] = {
                price = 4000,
                trade = {
                    ['usb_green'] = 1,
                    ['usb_purple'] = 1,
                }
            },
        },
        moneyItem = 'black_money', -- money / black_money or other item :)

        -- NEW
        buyItems = {
            ['usb_green'] = {
                price = 1000,
                moneyItem = 'money' -- item to pay
            },
            ['usb_black'] = {
                price = 1000,
                moneyItem = 'money' -- item to pay
            },
            ['usb_purple'] = {
                price = 1000,
                moneyItem = 'money' -- item to pay
            },
        }
    }
}
PreviousInstallation GuideNextAppearance

Last updated 19 days ago

⌚
⚙️