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. Fleeca Robbery

Config File

Config = {}

Config.Debug = false
Config.Framework = 'ESX' -- ESX / QB / ND / OX / QBOX
Config.Inventory = 'ox_inventory' -- ox_inventory / qs-inventory / qb-inventory / codem-inventory
Config.Target = 'ox_target' -- ox_target / qb-target
Config.Language = 'en' -- pl / en

Config.Settings = {
    vaultModel = -219621528, -- fm vault model
    policeCount = 0, -- required cops count
    policeJobs = {
        ['police'] = true,
        ['sheriff'] = true,
    },
    policeAlert = function(playerId, bankName)
        if GetResourceState('piotreq_gpt') == 'started' then 
            exports['piotreq_gpt']:SendAlert(playerId, {
                title = 'Fleeca Bank 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'},
                },
                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 = "Fleeca Robbery"
                },
                type = 'risk', -- default normal
                canAnswer = true, -- default false
                maxOfficers = 6, -- default 4
                time = 10,-- 10 minutes, default 5
                notifyTime = 8000, -- 8 seconds, default 7
            })
        elseif GetResourceState('qs-dispatch') == 'started' then
            local plyPed = GetPlayerPed(playerId)
            local plyCoords = GetEntityCoords(plyPed)
            TriggerEvent('qs-dispatch:server:CreateDispatchCall', {
                job = { 'police' },
                callLocation = vector3(plyCoords.x, plyCoords.y, plyCoords.z),
                callCode = { code = '10-90', snippet = '10-90' },
                message = "Fleeca Bank Robbery",
                blip = {
                    sprite = 1, --blip sprite
                    scale = 1.25, -- blip scale
                    colour = 1, -- blip colour
                    flashes = true, -- blip flashes
                    text = 'Fleeca Bank Robbery', -- blip text
                    time = (60 * 1000), --blip fadeout time (1 * 60000) = 1 minute
                },
            })
        elseif GetResourceState('cd_dispatch') == 'started' then
            local plyPed = GetPlayerPed(playerId)
            local plyCoords = GetEntityCoords(plyPed)
            TriggerEvent('cd_dispatch:AddNotification', {
                job_table = {'police'}, 
                coords = plyCoords,
                title = '10-90 - Fleeca Bank Robbery',
                message = 'Fleeca Bank Robbery', 
                flash = 0,
                unique_id = tostring(math.random(0000000, 9999999)),
                sound = 1,
                blip = {
                    sprite = 1, 
                    scale = 1.25, 
                    colour = 1,
                    flashes = false, 
                    text = 'Fleeca Bank Robbery',
                    time = 5,
                    radius = 0,
                }
            })
        elseif GetResourceState('ps-dispatch') == 'started' then
            TriggerClientEvent('p_fleecarobbery:policeAlert', playerId)
        end
    end,
    maxStartFails = 3,
    maxVaultFails = 3,
    bankCooldown = 45, -- 45 minutes
    timeToClose = 20, -- 20 minutes
    timeToGas = 5, -- 5 minutes
    darkConnect = false, -- Compatibility with my Phone [https://tebex.pscripts.store/package/6064013]
    removeItems = 'before', -- before / after / onFail / onWin (when script will remove required items)
}

Config.Banks = {
    ['MissionRow'] = {
        start = {
            coords = vector4(138.4879, -1047.9269, 29.1529, 339.2396),
            requiredItems = {
                ['pliers'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('WordsGame', {
                    wordsAmount = 5,
                    readyTime = 2500,
                    gameTime = 10000
                })
                return success
            end,
            exp = {min = 2, max = 10} -- if darkConnect is true, script will random exp from 2-10 and add to player on finish this stage
        },
        keypad = {
            coords = vector4(151.817, -1045.589, 29.829, 160.548),
            doorId = 104,
            requiredItems = {
                ['phone'] = 1,
                ['usb_black'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MemorizeGame', {
                    amount = 3,
                    rememberTime = 3000,
                    answerTime = 6000,
                })
                return success
            end,
            exp = {min = 2, max = 10},
        },
        computer = {
            coords = vector3(146.82, -1044.04, 29.37),
            requiredItems = {},
            miniGame = function()
                local success = exports['p_minigames']:StartGame('BeatGame', {
                    keysAmount = 10,
                    keys = {'W', 'S', 'A', 'D'},
                    maxFails = 3,
                    readyTime = 2500
                })
                return success
            end,
            exp = {min = 2, max = 10}
        },
        vault = {
            hack = vector4(147.59, -1048.12, 29.9, 80.0),
            coords = vector3(147.1241, -1049.5621, 29.5083),
            requiredItems = {
                ['laptop'] = 1,
                ['laptop_card'] = 1,
                ['usb_green'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MathGame', {
                    preset = 'easy',
                    questionsAmount = 15,
                    maxFails = 3,
                    fallTime = 4000
                })
                return success
            end,
            exp = {min = 10, max = 30}
        },
        trollys = {
            [1] = {
                coords = vector4(143.2232, -1049.1953, 28.5082, 163.0851),
                reward = {min = 100, max = 1000},
                exp = {min = 2, max = 10}
            },
            [2] = {
                coords = vector4(141.0952, -1047.3156, 28.5082, 70.6253),
                reward = {min = 100, max = 1000},
                exp = {min = 2, max = 10}
            },
            [3] = {
                coords = vector4(143.7716, -1047.3870, 28.5082, 340.8696),
                reward = {min = 100, max = 1000},
                exp = {min = 2, max = 10}
            }
        },
        toxicGas = {
            vector3(140.4857, -1048.1595, 30.6082),
            vector3(141.0430, -1046.2861, 30.6082),
            vector3(146.7458, -1048.4778, 30.6082),
            vector3(146.1317, -1050.1637, 30.6082),
        },
        lockboxes = {
            [1] = {
                sceneCoords = vector4(145.8179, -1047.1381, 29.8082, 341.1965),
                coords = vector3(146.01, -1047.27, 29.61),
                size = vec(1.85, 0.25, 1.75),
                rotation = 339.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                exp = {min = 5, max = 10},
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 90
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [2] = {
                sceneCoords = vector4(141.9970, -1045.8520, 29.8082, 343.3153),
                coords = vector3(142.4, -1046.0, 29.61),
                size = vec(2.21, 0.25, 1.75),
                rotation = 340.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [3] = {
                sceneCoords = vector4(145.0729, -1050.5895, 29.8082, 163.0397),
                coords = vector3(144.71, -1050.59, 29.51),
                size = vec(2.21, 0.30, 1.75),
                rotation = 340.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [4] = {
                sceneCoords = vector4(141.3363, -1049.3090, 29.8082, 164.7562),
                coords = vector3(141.26, -1049.3, 29.51),
                size = vec(2.21, 0.25, 1.75),
                rotation = 340.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
        }
    },
    ['Alta'] = {
        start = {
            coords = vector4(287.6097, -304.7594, 49.8642, 250.9565),
            requiredItems = {
                ['pliers'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('WordsGame', {
                    wordsAmount = 5,
                    readyTime = 2500,
                    gameTime = 10000
                })
                return success
            end,
        },
        keypad = {
            coords = vector4(316.193, -283.980, 54.322, 155.776),
            doorId = 7,
            requiredItems = {
                ['phone'] = 1,
                ['usb_green'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MemorizeGame', {
                    amount = 3,
                    rememberTime = 3000,
                    answerTime = 6000,
                })
                return success
            end,
        },
        computer = {
            coords = vector3(311.14, -282.38, 54.56),
            requiredItems = {},
            miniGame = function()
                local success = exports['p_minigames']:StartGame('BeatGame', {
                    keysAmount = 10,
                    keys = {'W', 'S', 'A', 'D'},
                    maxFails = 3,
                    readyTime = 2500
                })
                return success
            end,
        },
        vault = {
            hack = vector4(311.84, -286.47, 54.75, 70.0),
            coords = vector3(311.81, -286.48, 54.4),
            requiredItems = {
                ['laptop'] = 1,
                ['laptop_card'] = 1,
                ['usb_green'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MathGame', {
                    preset = 'easy',
                    questionsAmount = 15,
                    maxFails = 3,
                    fallTime = 4000
                })
                return success
            end,
        },
        trollys = {
            [1] = {
                coords = vector4(305.0396, -285.5286, 53.3050, 74.3734),
                reward = {min = 100, max = 1000}
            },
            [2] = {
                coords = vector4(308.1902, -285.6934, 53.3050, 343.0224),
                reward = {min = 100, max = 1000}
            },
            [3] = {
                coords = vector4(307.6133, -287.4839, 53.3050, 162.0485),
                reward = {min = 100, max = 1000}
            }
        },
        toxicGas = {
            vector3(304.8016, -286.4513, 55.5050),
            vector3(305.4183, -284.7693, 55.5050),
            vector3(311.0832, -286.8469, 55.5050),
            vector3(310.5248, -288.6604, 55.5050),
        },
        lockboxes = {
            [1] = {
                sceneCoords = vector4(309.9510, -285.5347, 54.6150, 340.6948),
                coords = vector3(310.27, -285.63, 54.6),
                size = vec(2.1, 0.3, 1.75),
                rotation = 339.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 90
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [2] = {
                sceneCoords = vector4(309.4285, -289.1078, 54.6150, 157.4547),
                coords = vector3(309.11, -288.95, 54.3),
                size = vec(2.1, 0.25, 1.75),
                rotation = 340.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [3] = {
                sceneCoords = vector4(306.8226, -284.2188, 54.6150, 339.7843),
                coords = vector3(306.77, -284.38, 54.5),
                size = vec(2.1, 0.25, 1.75),
                rotation = 340.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [4] = {
                sceneCoords = vector4(305.4420, -287.6836, 54.6150, 161.1622),
                coords = vector3(305.58, -287.63, 54.51),
                size = vec(2.21, 0.25, 1.75),
                rotation = 340.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
        }
    },
    ['Rockford'] = {
        start = {
            coords = vector4(-1218.2499, -331.4389, 42.1198, 117.1978),
            requiredItems = {
                ['pliers'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('WordsGame', {
                    wordsAmount = 5,
                    readyTime = 2500,
                    gameTime = 10000
                })
                return success
            end,
        },
        keypad = {
            coords = vector4(-1207.740, -332.603, 38.182, -151.370),
            doorId = 8,
            requiredItems = {
                ['phone'] = 1,
                ['usb_purple'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MemorizeGame', {
                    amount = 3,
                    rememberTime = 3000,
                    answerTime = 6000,
                })
                return success
            end,
        },
        computer = {
            coords = vector3(-1215.59, -336.83, 37.98),
            requiredItems = {},
            miniGame = function()
                local success = exports['p_minigames']:StartGame('BeatGame', {
                    keysAmount = 10,
                    keys = {'W', 'S', 'A', 'D'},
                    maxFails = 3,
                    readyTime = 2500
                })
                return success
            end,
        },
        vault = {
            hack = vector4(-1208.86, -337.45, 38.31, 115.0),
            coords = vector3(-1208.0146, -338.9009, 37.9212),
            requiredItems = {
                ['laptop'] = 1,
                ['laptop_card'] = 1,
                ['usb_purple'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MathGame', {
                    preset = 'easy',
                    questionsAmount = 15,
                    maxFails = 3,
                    fallTime = 4000
                })
                return success
            end,
        },
        trollys = {
            [1] = {
                coords = vector4(-1214.1996, -341.8265, 36.9212, 118.2077),
                reward = {min = 100, max = 1000}
            },
            [2] = {
                coords = vector4(-1211.8894, -339.7009, 36.9212, 28.4689),
                reward = {min = 100, max = 1000}
            },
            [3] = {
                coords = vector4(-1210.9790, -341.2536, 36.9212, 206.8415),
                reward = {min = 100, max = 1000}
            }
        },
        toxicGas = {
            vector3(-1213.6938, -342.6227, 39.1212),
            vector3(-1214.5061, -341.0285, 39.1212),
            vector3(-1209.1194, -338.2983, 39.1212),
            vector3(-1208.1813, -339.9425, 39.1212),
        },
        lockboxes = {
            [1] = {
                sceneCoords = vector4(-1209.8856, -337.7216, 38.2212, 28.7849),
                coords = vector3(-1210.56, -338.05, 37.92),
                size = vec(2.1, 0.3, 1.75),
                rotation = 27.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 90
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [2] = {
                sceneCoords = vector4(-1209.6603, -341.4836, 38.2212, 209.2113),
                coords = vector3(-1208.9, -341.14, 37.92),
                size = vec(2.1, 0.25, 1.75),
                rotation = 27.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [3] = {
                sceneCoords = vector4(-1213.1755, -339.3832, 38.2212, 25.7208),
                coords = vector3(-1213.87, -339.83, 37.92),
                size = vec(2.1, 0.25, 1.75),
                rotation = 27.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [4] = {
                sceneCoords = vector4(-1213.1184, -343.3140, 38.2212, 208.0202),
                coords = vector3(-1212.33, -342.87, 37.92),
                size = vec(2.21, 0.25, 1.75),
                rotation = 27.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
        }
    },
    ['GOH'] = {
        start = {
            coords = vector4(-2950.5874, 487.2316, 15.4687, 179.1081),
            requiredItems = {
                ['pliers'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('WordsGame', {
                    wordsAmount = 5,
                    readyTime = 2500,
                    gameTime = 10000
                })
                return success
            end,
        },
        keypad = {
            coords = vector4(-2958.539, 486.330, 16.141, 267.904),
            doorId = 9,
            requiredItems = {
                ['phone'] = 1,
                ['usb_purple'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MemorizeGame', {
                    amount = 3,
                    rememberTime = 3000,
                    answerTime = 6000,
                })
                return success
            end,
        },
        computer = {
            coords = vector3(-2958.52, 479.06, 15.9),
            requiredItems = {},
            miniGame = function()
                local success = exports['p_minigames']:StartGame('BeatGame', {
                    keysAmount = 10,
                    keys = {'W', 'S', 'A', 'D'},
                    maxFails = 3,
                    readyTime = 2500
                })
                return success
            end,
        },
        vault = {
            hack = vector4(-2954.8, 483.04, 16.33, 180.0),
            coords = vector3(-2953.2849, 483.1463, 15.8382),
            requiredItems = {
                ['laptop'] = 1,
                ['laptop_card'] = 1,
                ['usb_red'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MathGame', {
                    preset = 'easy',
                    questionsAmount = 15,
                    maxFails = 3,
                    fallTime = 4000
                })
                return success
            end,
        },
        trollys = {
            [1] = {
                coords = vector4(-2952.4941, 479.2488, 14.8381, 269.2213),
                reward = {min = 100, max = 1000}
            },
            [2] = {
                coords = vector4(-2953.4951, 476.3000, 14.8381, 178.1896),
                reward = {min = 100, max = 1000}
            },
            [3] = {
                coords = vector4(-2954.3523, 479.2744, 14.8381, 87.4121),
                reward = {min = 100, max = 1000}
            }
        },
        toxicGas = {
            vector3(-2954.4578, 476.3360, 16.9381),
            vector3(-2952.6738, 476.2686, 16.9381),
            vector3(-2954.2312, 482.3667, 16.9381),
            vector3(-2952.4404, 482.2943, 16.9381),
        },
        lockboxes = {
            [1] = {
                sceneCoords = vector4(-2951.6027, 480.6469, 16.1381, 268.7143),
                coords = vector3(-2951.65, 481.13, 15.84),
                size = vec(2.1, 0.3, 1.75),
                rotation = 88.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 90
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [2] = {
                sceneCoords = vector4(-2951.6554, 477.0793, 16.1381, 269.2202),
                coords = vector3(-2951.81, 477.34, 15.84),
                size = vec(2.1, 0.25, 1.75),
                rotation = 88.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [3] = {
                sceneCoords = vector4(-2955.3033, 477.9700, 16.1381, 87.2197),
                coords = vector3(-2955.25, 477.48, 15.84),
                size = vec(2.1, 0.25, 1.75),
                rotation = 88.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [4] = {
                sceneCoords = vector4(-2955.2206, 481.6739, 16.1381, 89.0930),
                coords = vector3(-2955.1, 481.26, 15.84),
                size = vec(2.21, 0.25, 1.75),
                rotation = 88.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
        }
    },
    ['Sandy'] = {
        start = {
            coords = vector4(1176.5806, 2722.0896, 38.0042, 180.9050),
            requiredItems = {
                ['pliers'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('WordsGame', {
                    wordsAmount = 5,
                    readyTime = 2500,
                    gameTime = 10000
                })
                return success
            end,
        },
        keypad = {
            coords = vector4(1171.506, 2710.714, 38.649, -2.934),
            doorId = 10,
            requiredItems = {
                ['phone'] = 1,
                ['usb_purple'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MemorizeGame', {
                    amount = 3,
                    rememberTime = 3000,
                    answerTime = 6000,
                })
                return success
            end,
        },
        computer = {
            coords = vector3(1176.82, 2710.97, 38.09),
            requiredItems = {},
            miniGame = function()
                local success = exports['p_minigames']:StartGame('BeatGame', {
                    keysAmount = 10,
                    keys = {'W', 'S', 'A', 'D'},
                    maxFails = 3,
                    readyTime = 2500
                })
                return success
            end,
        },
        vault = {
            hack = vector4(1174.65, 2714.55, 38.62, 270.0),
            coords = vector3(1174.5134, 2716.0220, 38.2282),
            requiredItems = {
                ['laptop'] = 1,
                ['laptop_card'] = 1,
                ['usb_red'] = 1
            },
            miniGame = function()
                local success = exports['p_minigames']:StartGame('MathGame', {
                    preset = 'easy',
                    questionsAmount = 15,
                    maxFails = 3,
                    fallTime = 4000
                })
                return success
            end,
        },
        trollys = {
            [1] = {
                coords = vector4(1181.3624, 2716.0908, 37.2282, 269.6738),
                reward = {min = 100, max = 1000}
            },
            [2] = {
                coords = vector4(1178.4137, 2715.1633, 37.2282, 180.0161),
                reward = {min = 100, max = 1000}
            },
            [3] = {
                coords = vector4(1178.3475, 2717.0281, 37.2282, 3.3665),
                reward = {min = 100, max = 1000}
            }
        },
        toxicGas = {
            vector3(1181.3622, 2716.9548, 39.6282),
            vector3(1181.3584, 2715.1631, 39.6282),
            vector3(1175.3212, 2715.1631, 39.6282),
            vector3(1175.2242, 2717.0618, 39.6282),
        },
        lockboxes = {
            [1] = {
                sceneCoords = vector4(1175.9694, 2714.2824, 38.5282, 181.2435),
                coords = vector3(1176.45, 2714.35, 38.23),
                size = vec(2.1, 0.3, 1.75),
                rotation = 0.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 90
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [2] = {
                sceneCoords = vector4(1179.7733, 2714.2628, 38.5282, 180.0456),
                coords = vector3(1180.21, 2714.33, 38.23),
                size = vec(2.1, 0.25, 1.75),
                rotation = 0.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [3] = {
                sceneCoords = vector4(1180.7114, 2717.9122, 38.5282, 2.3336),
                coords = vector3(1180.19, 2717.78, 38.23),
                size = vec(2.1, 0.25, 1.75),
                rotation = 0.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
            [4] = {
                sceneCoords = vector4(1176.8110, 2717.7951, 38.5282, 356.5877),
                coords = vector3(1176.41, 2717.8, 38.23),
                size = vec(2.21, 0.25, 1.75),
                rotation = 0.0,
                requiredItems = {
                    ['fleeca_drill'] = 1
                },
                rewards = {
                    [1] = {
                        item = 'black_money', min = 100, max = 1000, chance = 70
                    },
                    [2] = {
                        item = 'cannabis_seed', min = 1, max = 2, chance = 10
                    }
                }
            },
        }
    },
}
PreviousInstallation GuideNextJewelry Robbery

Last updated 19 days ago

💵
⚙️