🔵
ZaT Scripts
  • Welcome
  • General information
  • 🟦QBCore
    • 🔵Amazon
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Uber Eats
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Foodie
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Tap To Order
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵NoteBook
      • 💻Installation
      • ⚙️Configuration
    • 🔵Elevator
      • 💻Installation
      • ⚙️Configuration
    • 🔵Car Rental
      • 💻Installation
      • ⚙️Configuration
    • 🔵Crafting
      • 💻Installation
      • ⚙️Configuration
      • 📄Blueprints
      • 📄Reputations
      • ⚙️Others
    • 🔵Wash Money
      • 💻Installation
      • ⚙️Configuration
      • 💰More
    • 🔵Store Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pacific Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Weed
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Genetics
    • 🔵SnrBuns
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
    • 🔵Mining PC
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
      • 🛒Shops
    • 🔵Garbage Job
      • 💻Installation
      • ⚙️Configuration
      • ⁉️Common Questions
    • 🔵NPC Dialog
      • 💻Installation
      • ⚙️Configuration
      • 💡Reputations
    • 🔵Roof Running
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Laundromat
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵SNR Restaurants
      • 💻Installation
      • ⚙️Configuration
      • ⁉️How To add a new restaurant
    • 🔵Farming & moonshine
      • 💻Installation
      • ⚙️Configuration
      • 🧑‍🔬Genetics
    • 🔵Art Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Maze Bank Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Clothing Store Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵ATM Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Cash Exchange Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵MDT
      • 💻Installation
      • ⚙️Configuration
      • ⚠️Dispatch
      • 🕖Events
    • 🔵Gang
      • 💻Installation
      • Exports
      • ⚙️Configuration
      • 🚩Gang Creation
      • 📋Dashboard
      • Members
      • Contracts
      • Turfs
      • Transactions
      • Market
      • Wars
      • Leaderboard
      • Cameras
      • HQ +
    • 🔵GPS Tracker
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pause Menu
      • 💻Installation
      • ⚙️Configuration
    • 🔵Perks
      • 💻Installation
      • ⚙️Configuration
      • Exports
      • ⁉️How To ?
    • 🔵Fleeca
      • 💻Installation
      • ⚙️Configuration
    • 🔵Whiteboard
      • 💻Installation
      • ⚙️Configuration
  • 🟦ESX
    • 🔵Amazon
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Uber Eats
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Foodie
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Tap To Order
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵NoteBook
      • 💻Installation
      • ⚙️Configuration
    • 🔵Crafting
      • 💻Installation
      • ⚙️Configuration
      • 📄Blueprints
      • 📄Reputations
      • ⚙️Others
    • 🔵Elevator
      • 💻Installation
      • ⚙️Configuration
    • 🔵Car Rental
      • 💻Installation
      • ⚙️Configuration
    • 🔵Wash Money
      • 💻Installation
      • ⚙️Configuration
    • 🔵Store Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pacific Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Weed
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Genetics
    • 🔵SnrBuns
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
    • 🔵Mining PC
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
      • 🛒Shops
    • 🔵Garbage Job
      • 💻Installation
      • ⚙️Configuration
      • ⁉️Common Questions
    • 🔵NPC Dialog
      • 💻Installation
      • ⚙️Configuration
      • 💡Reputations
    • 🔵Roof Running
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Laundromat
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵SNR Restaurants
      • 💻Installation
      • ⚙️Configuration
      • ⁉️How To add a new restaurant
    • 🔵Farming & moonshine
      • 💻Installation
      • ⚙️Configuration
      • 🧑‍🔬Genetics
    • 🔵Art Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Maze Bank Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Clothing Store Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵ATM Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Cash Exchange Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Gang
      • 💻Installation
      • Exports
      • ⚙️Configuration
      • 🚩Gang Creation
      • 📋Dashboard
      • Members
      • Contracts
      • Turfs
      • Transactions
      • Market
      • Wars
      • Leaderboard
      • Cameras
      • HQ +
    • 🔵GPS Tracker
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pause Menu
      • 💻Installation
      • ⚙️Configuration
    • 🔵Perks
      • 💻Installation
      • ⚙️Configuration
      • Exports
      • ⁉️How To ?
    • 🔵Fleeca
      • 💻Installation
      • ⚙️Configuration
    • 🔵Whiteboard
      • 💻Installation
      • ⚙️Configuration
  • 🟦STANDALONE
    • 🔵Code Minigame
      • 💻Installation
      • ⚙️Usage
    • 🔵Menu and Task UI
      • 💻Installation
      • ⚙️Usage
      • ⁉️Common Questions
Powered by GitBook
On this page
  1. ESX
  2. Pacific Robbery

Configuration

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

Part of the config.lua

Config = {}
Config.Framework     = "esx" -- "qb"
Config.inventory     = "ox" -- ox
Config.Target        = "ox" -- qb

Config.FirstDoorAutoClose = 60000 -- 1 min
Config.MinigameTime  = 60
Config.HealthFail    = 25
Config.cashreward    = "rollcash"
Config.cashamount    = math.random(10,25) -- amount/rolly
Config.goldreward    = "goldbar"
Config.goldamount    = math.random(10,25) -- amount/rolly
Config.diamondreward = "diamond"
Config.diamondamount = math.random(10,25) -- amount/rolly
Config.hackingdevice = 'pacifichackdevice'
Config.drillitem     = 'drill'
Config.MinimumPacificRobberyPolice = 6

Config.LockerrewardAmount = math.random(1,5)
Config.lockerreward  = {
    'rollcash',
    'goldbar',
    'diamond',
    'rolex',
    'diamond_ring',
    'goldchain',
    'cryptostick',
}

Config.rareLockerRewardAmount = math.random(1,2)
Config.rareLockerReward = {
    'weapon_pistol50',
    'weapon_sniperrifle'
}

Config.RandomNames =  { -- https://capitalizemytitle.com/morse-code-translator/
    { name = "Christine Lozano",    code =  "-.-. .... .-. .. ... - .. -. . / .-.. --- --.. .- -. ---", notecode = "1145df8"},
    { name = "Fletcher Adkins",     code =  "..-. .-.. . - -.-. .... . .-. / .- -.. -.- .. -. ...", notecode = "1424bc2"},
    { name = "Bryan Francis",       code =  "-... .-. -.-- .- -. / ..-. .-. .- -. -.-. .. ...", notecode = "1eb33c"},
}

Config.CDCoords = {
    vector3(255.411, 208.31, 106.20),
    vector3(249.54, 206.38, 106.35),
    vector3(256.29, 211.62, 105.98),
    vector3(257.71, 207.10, 106.22),
    vector3(261.14, 202.15, 106.35),
    vector3(259.30, 210.32, 105.96),
    vector3(265.96, 228.68, 105.96),
    vector3(266.99, 232.74, 106.25),
    vector3(270.97, 234.53, 106.35),
    vector3(264.02, 232.16, 106.20),
    vector3(261.31, 238.06, 106.35),
    vector3(262.77, 229.89, 105.97),
}

Config.Locations = {
    KeypadFirstDoor = {
        padcoords   = vector3(271.0, 206.0, 106.74),
        padheading  = 90.0,
        padmodel    = "prop_ld_keypad_01b",
        cardmodel   = "vw_prop_vw_key_card_01a",
        item        = "pacificard",
        pedcoords   = vector4(270.82, 206.45, 106.28, 338.53),
        hackmodel   = "hei_prop_heist_card_hack_02",
        hackcoords = vector3(271.04, 206.94, 106.78),
        hackrotx = 90.0,
        hackroty = 0.0,
        hackrotz = 70.0,
    },
    PedKeyCoords = {
        coords = vector4(269.32, 217.25, 106.28, 69.4),
        model  = "ig_andreas",
        keycoords = vector3(269.119, 216.571, 105.28),
        keymodel  = "prop_cuff_keys_01",
    },
    OfficeRoom = {
        cdcoords    = Config.CDCoords[math.random(#Config.CDCoords)],
        cdmodel     = "v_res_cd"
    },
    BigOffice = {
        pccoords    = vector3(278.81, 213.05, 110.08),
        model       = "p_cs_laptop_02",
        item        = "cd",
        safemodel   = "h4_prop_h4_safe_01a",
        osafemodel  = "h4_prop_h4_safe_01b",    -- open safe model
        safecoords  = vector4(278.88, 217.92, 109.17, 340.0),
        cardmodel   = "p_ld_id_card_002" ,
        cardcoords  = vector4(278.90, 217.95, 110.19, 40.0),
    },
    Downstairs = {
        firstdoorleft    = vector3(267.67, 213.2251, 97.39),
        firstdoorright   = vector3(270.59, 221.2858, 97.53),
        item             = "pacificdowncard",
        model            = "hei_prop_hei_securitypanel",
        cutscenecoords   = vector3(271.77, 216.9, 96.12)
    },
    warriors = {
        coords = {
            vector4(254.69, 222.05, 97.12, 276.61),
            vector4(256.3, 223.74, 97.12, 276.61),
            vector4(255.01, 219.94, 97.12, 276.61),
        },
        weapon  = "weapon_minigun",
        model   = "u_m_y_juggernaut_01"
    },
    lasers = {
        coords = vector3(260.66, 213.03, 98.93),
    },
    blocnote = {
        coords = vector3(258.4, 220.73, 97.01),
        model  = "prop_notepad_02"
    },
    notepad = {
        coords = vector3(264.530, 223.868, 97.4),
        heading = 160.0,
        model = "prop_ld_keypad_01b",  
    },
    handcut = {
        pedcoords = vector4(267.95, 224.57, 97.12, 76.32),
        pedmodel = "cs_fbisuit_01",
        handprop = "ch_prop_collectibles_limb_01a",
        handcoords = vector4(267.79, 225.50, 96.117, 0.0),
        idprop = "p_ld_id_card_002",
        idcoords = vector4(267.38, 224.91, 96.117, 90.0),
        handitem = "arm",
    },
    vault = {
        model = "v_ilev_bk_vaultdoor",
        coords = vector3(234.99, 228.07, 97.72),
        closedHeading = 70.0,
        openHeading = 10.0,
    },
    propsToDelete = {
        coordsleft      = vector3(241.88, 218.6, 97.2),
        headingleft     = 160.0,
        coordsright     = vector3(247.4, 233.75, 97.2),
        headingright    = 341.11,
        coordsvault     = vector3(236.3, 231.75, 97.2),
        headingvault    = 70.0,
        coordsinside    = vector3(227.84, 228.32, 97.2),
        headinginside   = 160.0,
        modelToDelete   = "hei_prop_hei_securitypanel",
        replacedByModel = "ch_prop_fingerprint_scanner_01e",
        trolleyModel    = "hei_prop_hei_warehousetrolly",
        trolley         = vector3(265.49, 215.56, 96.12),
        goldtrolleys    = {
            vector3(227.94, 225.42, 96.59),
            vector3(229.19, 224.99, 96.59),
            vector3(225.98, 226.14, 96.59),
            vector3(224.72, 226.62, 96.59),
        },
        cashtrolleys = {
            vector3(227.87, 235.04, 96.12),
            vector3(232.35, 233.38, 96.12),
        }
    },
    trollys = {
        {
            coords = vector3(251.5, 237.54, 96.12),
            heading = 268.00,
            grabbed = false,
            model = 'hei_prop_hei_cash_trolly_01'
        },
        {
            coords = vector3(242.57, 213.2, 96.12),
            heading = 268.00,
            grabbed = false,
            model = 'hei_prop_hei_cash_trolly_01'
        },
        {
            coords = vector3(232.35, 233.38, 96.12),
            heading = 60.00,
            grabbed = false,
            model = 'hei_prop_hei_cash_trolly_01'
        },
        {
            coords = vector3(227.87, 235.04, 96.12),
            heading = -120.00,
            grabbed = false,
            model = 'hei_prop_hei_cash_trolly_01'
        },
        {
            coords = vector3(227.94, 225.42, 96.12),
            heading = 335.0,
            grabbed = false,
            model = 'ch_prop_diamond_trolly_01a'
        },
        {
            coords = vector3(229.19, 224.99, 96.12),
            heading = 350.0,
            grabbed = false,
            model = 'ch_prop_gold_trolly_01a'
        },
        {
            coords = vector3(224.72, 226.62, 96.12),
            heading = 330.0,
            grabbed = false,
            model = 'ch_prop_diamond_trolly_01a'
        },
        {
            coords = vector3(225.98, 226.14, 96.12),
            heading = 340.0,
            grabbed = false,
            model = 'ch_prop_gold_trolly_01a'
        },
    },
    cashcase = {
        model = 'prop_cash_case_01',
        coords = vector4(228.84, 231.33, 97.03, 270.0)
    },
    lockers = {
        --right
        -- left bottom
        vector4(248.40, 236.21, 97.54, 76.48),
        vector4(248.96, 237.74, 97.54, 76.48),
        vector4(249.40, 238.94, 97.54, 76.48),
        vector4(249.84, 240.16, 97.54, 76.48),
        -- left top
        vector4(248.80, 237.30, 98.48, 76.48),
        vector4(249.36, 238.82, 98.48, 76.48),
        --mid bottom
        vector4(251.84, 241.04, 97.54, 343.31),
        vector4(252.66, 240.74, 97.54, 343.31),
        vector4(253.48, 240.44, 97.54, 343.31),
        -- mid top
        vector4(252.63, 240.75, 98.48, 343.31),
        --right bottom
        vector4(254.16, 238.36, 97.54, 253.57),
        vector4(253.73, 237.16, 97.54, 253.57),
        vector4(253.30, 235.98, 97.54, 253.57),
        vector4(252.86, 234.77, 97.54, 253.57),
        --right top
        vector4(253.73, 237.18, 98.48, 253.57),
        vector4(253.14, 235.54, 98.48, 253.57),


        --left
        -- left bottom
        vector4(245.36, 214.16, 97.53, 259.95),
        vector4(244.91, 212.94, 97.53, 259.95),
        vector4(244.47, 211.72, 97.53, 259.95),
        vector4(244.04, 210.54, 97.53, 259.95),
        -- left top
        vector4(245.06, 213.36, 98.48, 259.95),
        vector4(244.34, 211.37, 98.48, 259.95),
        --mid bottom
        vector4(241.95, 209.64, 97.51, 161.26),
        vector4(241.19, 209.92, 97.51, 161.26),
        vector4(240.40, 210.20, 97.51, 161.26),
        -- mid top
        vector4(241.21, 209.91, 98.48, 343.31),
        --right bottom
        vector4(239.84, 212.67, 97.50, 72.12),
        vector4(240.13, 213.48, 97.50, 72.12),
        vector4(240.59, 214.73, 97.50, 72.12),
        vector4(241.02, 215.93, 97.50, 72.12),
        --right top
        vector4(240.13, 213.51, 98.48, 72.12),
        vector4(240.72, 215.09, 98.48, 72.12),
    },
    exit = {
        model = "ch_prop_fingerprint_scanner_01e",
        coords = vector4(274.34, 234.26, 124.0, -20.0)
    }
}
PreviousInstallationNextWeed

Last updated 1 year ago

🟦
🔵
⚙️