> For the complete documentation index, see [llms.txt](https://zat-scripts.gitbook.io/zat-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zat-scripts.gitbook.io/zat-scripts/qbcore/pacific-robbery/installation.md).

# Installation

<figure><img src="/files/HXVPXDzRt2SYAuxzHr9A" alt=""><figcaption></figcaption></figure>

## Dependencies

<details>

<summary>QBCore</summary>

You will need the latest version of [qb-core](https://github.com/qbcore-framework/qb-core).

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

<details>

<summary>MKA-Lasers</summary>

You will need the latest version of [mka-lasers](https://github.com/mkafrin/mka-lasers).

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

<details>

<summary>Glow-Minigames</summary>

You will need the latest version of [Glow-Minigames.](https://github.com/christikat/glow_minigames)

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

<details>

<summary>RAN-Minigames</summary>

You will need the latest version of [RAN-Minigames](https://github.com/RanDXDev/ran-minigames)[.](https://github.com/christikat/glow_minigames)

* Extract the contents of the archive to your resources folder.
* Start the resource near the top of your resources in your server.cfg.

</details>

<details>

<summary>ZAT-CodingMinigame (Free with the pack)</summary>

* You will find it for free in the pack..
* Start the resource near the top of your resources in your server.cfg.

</details>

### Installing the resource

* Make sure you have the [dependencies](#dependencies) listed above installed.
* Extract the contents of the archive to your resources folder.
* Add item to shared items.lua

  ```lua
      pacificard                  = { name = 'pacificard',            label = 'Security Card',            weight = 100, type = 'item', image = 'pacificard.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },
      pacifichackdevice           = { name = 'pacifichackdevice',     label = 'Hack Device',              weight = 100, type = 'item', image = 'pacifichackdevice.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },
      pacificofficekeys           = { name = 'pacificofficekeys',     label = 'Keys',                     weight = 100, type = 'item', image = 'keys.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },   
      cd                          = { name = 'cd',                    label = 'CD',                       weight = 100, type = 'item', image = 'cd.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },
      pacificdowncard             = { name = 'pacificdowncard',       label = 'Security Card',            weight = 100, type = 'item', image = 'pacificdowncard.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },
      nightvision                 = { name = 'nightvision',           label = 'UV Helmet',                weight = 100, type = 'item', image = 'nightvision.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },
      arm                         = { name = 'arm',                   label = 'arm',                      weight = 100, type = 'item', image = 'arm.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },
      trolley                     = { name = 'trolley',               label = 'trolley',                  weight = 100, type = 'item', image = 'trolley.png',    unique = true, useable = true, shouldClose = true, combinable = nil, description = '' },
      diamond                     = { name = 'diamond',               label = 'Diamond',                  weight = 100, type = 'item', image = 'diamond.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'A diamond seems like the jackpot to me!' },
      cashcase                    = { name = 'cashcase',              label = 'Cash Case',                weight = 100, type = 'item', image = 'cashcase.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'A diamond seems like the jackpot to me!' },
      drill                       = { name = 'drill',                 label = 'Drill',                    weight = 20000, type = 'item', image = 'drill.png', unique = false, useable = false, shouldClose = false, combinable = nil, description = 'The real deal...' },
  ```
* If you want the alarm sound and sound effects :&#x20;
  * Download [interact-sound](https://github.com/plunkettscott/interact-sound) from Github.
  * Addthe .ogg files inside \[sounds] into interact-sound\client\html\sounds.
* Add the images inside your inventory/html/images.
* Doorlocks :&#x20;
  * &#x20;QB : add the zat-pacificrobbery.lua  into qb-doorlock\configs
  * &#x20;OX : add the SQL into ox\_doorlock TABLE&#x20;

    &#x20;IMPORTANT : Change the IDs to avoid duplicated door IDS
* Ensure zat-pacificrobbery.
