# Installation



## Dependencies :

<details>

<summary>ES EXTENDED</summary>

You will need the latest version of  [esx\_core](https://github.com/esx-framework/esx_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>XSOUND</summary>

You will need the latest version of  [xsound](https://github.com/Xogy/xsound).

* Extract the contents of the archive to your resources folder.

- Start the resource near the top of your resources in your server.cfg.

</details>

***

## ITEMS :&#x20;

```lua
rfid_cloner             = { name = 'rfid_cloner',             label = 'RFID Cloner',                            weight = 100,       type = 'item',      image = 'rfid_cloner.png',                                          unique = true, useable = true,     shouldClose = true,    combinable = nil,   description = 'RFID Cloner' },    
screwdriverset          = { name = 'screwdriverset',          label = 'Toolkit', weight = 1000, type = 'item', image = 'screwdriverset.png', unique = false, useable = false, shouldClose = false, description = 'Very useful to screw... screws...' },
c4                      = { name = 'c4',                      label = 'C4 Bomb',   weight = 100,       type = 'item',     image = 'c4.png',                                                unique = false, useable = true,     shouldClose = true,    combinable = nil,   description = 'c4 Bomb' }, 
drill                   = { name = 'drill',                   label = 'Drill', weight = 20000, type = 'item', image = 'drill.png', unique = false, useable = false, shouldClose = false, description = 'The real deal...' },
```

***

## CONFIG

* Navigate to the `config` folder inside the script.
* Choose the configuration file that matches the map you are using.&#x20;
* Rename the desired config file to `config.lua`.

***

## ADDITIONAL SETUP

<details>

<summary>DOORLOCK</summary>

* Go to the `[doorlocks]` folder.
* Choose the folder for the map you are using.
* **If using `ox_doorlock`**:
  * Open the SQL file inside and edit the door `id`s to match your existing `ox_doorlock` database structure.
  * Then run the SQL.
* **If using `qb-doorlock`**:
  * Copy the doorlock config file into your `qb-doorlock/configs` folder.

</details>

<details>

<summary>IMAGES</summary>

* Copy the contents of the `[images]` folder into your inventory's image directory.

</details>

<details>

<summary>SOUNDS</summary>

* Copy all files from the `[sounds]` folder into xsound/client/html/sounds

</details>

## ENSURE RESOURCES

* [ ] ensure zat-fleeca
