> For the complete documentation index, see [llms.txt](https://gnstudio.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gnstudio.gitbook.io/doc/los-santos/warehousepack.md).

# Warehouse Pack

This product includes **2 customizable** warehouse interiors for weed farms, meth labs, arms factories, cocaine labs, and general storage, available across **18 locations**. Fully compatible with [G\&N’s animation script](/doc/script/animation-script.md) for interactive use of all installations.

***

## How to install the asset?

{% stepper %}
{% step %}
**Search and download the asset on** [**Portal**](https://portal.cfx.re/assets/granted-assets)**.**

**Download dependencies on Portal:**

* [cfx\_gn\_collection](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc\&search=G%26N%27s+%5BBase%5D+-+Collection+%26+Data)
* [cfx\_gn\_illegal\_dlc](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc\&search=G%26N%27s+-+%5BDLC%5D+Illegal+DLC)
* [cfx\_gn\_warehouse](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc\&search=G%26N%27s+-+Warehouse+Pack+%3A+Business+Empire)

**Download extra dependencies on Portal**\ <sup><sub>(only for<sub></sup> [<sup><sub>Silver/Gold subscribers<sub></sup>](https://gn.studio/subscription) <sup><sub>and Standalone buyers)<sub></sup>

* [cfx\_gn\_doorstuning](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.id\&direction=desc\&search=G%26N%27s+%5BBase%5D+-+Extra+content)
* [cfx\_gn\_audio](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.id\&direction=desc\&search=G%26N%27s+%5BBase%5D+-+Extra+content)
  {% endstep %}

{% step %}
**Ensure dependencies**

```lua
ensure cfx_gn_collection # required dependency
ensure cfx_gn_illegal_dlc # required dependency
ensure cfx_gn_warehouses
```

{% hint style="info" %}
You can also start everything inside one folder \[GNstudio].\
`ensure [GNstudio]`
{% endhint %}
{% endstep %}

{% step %}
**Enjoy!**
{% endstep %}
{% endstepper %}

***

## **Characteristics**

* **2 customizable** warehouse interiors
* Available across **18 locations**
* Audio Occlusion & Doors audio
* Customizable texture (ytd)
* All vanilla files unlock
* Compatible with [G\&N’s animation script](/doc/script/animation-script.md)

## **Entityset**

{% hint style="info" %}
Each warehouse contains multiple "entity sets" allowing you to change the content of each warehouse.
{% endhint %}

### Available Themes

* Empty warehouse (which you can furnish via script/housing)
* Simple storage for transport/business management
* Meth lab
* Cocaine lab
* Weed farm
* Weapons manufacturing plant

### Test and preview entity sets

{% hint style="info" %}
You can preview all the entity sets from our Showcase server, which provide a custom script to configure them in real time.

Here is two ways to join our server:

* [**G\&N's Studio Showcase Server**](https://cfx.re/join/lpa6k4)
* `F8` > `connect 51.75.123.249`
  {% endhint %}

### Entity sets list

Some themes works are split into multiple entity sets, offering more options. Some entities can function independently. This activates the selected theme without the production activation props, which are located in a separate entity set, unless you want to create stages in your roleplay.

| Entityset Int Small       | Entityset Int Big         | Description                                       | Works alone |
| ------------------------- | ------------------------- | ------------------------------------------------- | ----------- |
| wh\_s\_empty              | wh\_b\_empty              | Empty warehouse with light                        | ✅           |
| wh\_s\_storage\_a\_empty  | wh\_b\_storage\_a\_empty  | Simple empty storage                              | ✅           |
| wh\_s\_storage\_a\_01     | wh\_b\_storage\_a\_01     | Simple storage -> Add more props                  | ❌           |
| wh\_s\_meth\_empty        | wh\_b\_meth\_empty        | Meth lab with machine only / not in operation     | ✅           |
| wh\_s\_meth\_01           | wh\_b\_meth\_01           | Meth lab with more props / in operation           | ❌           |
| wh\_s\_coke\_empty        | wh\_b\_coke\_empty        | Cocaine laboratory / not in operation             | ✅           |
| wh\_s\_coke\_01           | wh\_b\_coke\_01           | Cocaïne laboratory With more props / in operation | ❌           |
| wh\_s\_storage\_b\_empty  | wh\_b\_storage\_b\_empty  | Simple empty storage (B)                          | ✅           |
| wh\_s\_storage\_b\_weapon | wh\_b\_storage\_b\_weapon | Weapon factory with stotage (B)                   | ❌           |
| wh\_s\_weed\_empty        | wh\_b\_weed\_empty        | Weed farms / not in operation                     | ✅           |
| wh\_s\_weed\_stage\_1a    | wh\_b\_weed\_stage\_1a    | Weed farms - small plants                         | ❌           |
| wh\_s\_weed\_stage\_1b    | wh\_b\_weed\_stage\_1b    | Weed farms - medium plants                        | ❌           |
| wh\_s\_weed\_stage\_1c    | wh\_b\_weed\_stage\_1c    | Weed farms - medium 2 plants                      | ❌           |
| wh\_s\_weed\_stage\_1d    | wh\_b\_weed\_stage\_1d    | Weed farms - big plants                           | ❌           |
| wh\_s\_weed\_stage\_2a    | wh\_b\_weed\_stage\_2a    | Weed farms - drying plantation                    | ❌           |
|                           | wh\_b\_weed\_storage      | Weed farms - Storage props                        | ❌           |

### Customize warehouses entity sets

**Using included script and config**

We already provide a default entity sets configuration in `cfx_gn_warehouses\entityset\config.lua`.\
Feel free to edit this file, to customize each locations according to your needs.

Here is an example to enable the Meth lab in the location 1. (see [Locations](broken://pages/295683983ad486728e2a4a3a727216909e9fe20d) for more details)

```lua
-- # Location 1
{
    { name = 'wh_b_empty',            enable = false }, -- Empty warehouse with light
    -- Storage
    { name = 'wh_b_storage_a_empty',  enable = false }, -- Simple empty storage
    { name = 'wh_b_storage_a_01',     enable = false }, -- With more props
    -- Meth laboratory
    { name = 'wh_b_meth_empty',       enable = true },  -- Meth lab with machine only / not in operation
    { name = 'wh_b_meth_01',          enable = true },  -- With more props / in operation
    -- Coke laboratory
    { name = 'wh_b_coke_empty',       enable = false }, -- Cocaine laboratory / not in operation
    { name = 'wh_b_coke_01',          enable = false }, -- With more props / in operation
    -- Storage b & weapon factory
    { name = 'wh_b_storage_b_empty',  enable = false }, -- Simple empty storage (B)
    { name = 'wh_b_storage_b_weapon', enable = false }, -- Weapon factory with stotage (B)
    -- Weed farms
    { name = 'wh_b_weed_empty',       enable = false }, -- Weed farms / not in operation
    { name = 'wh_b_weed_stage_1a',    enable = false }, -- Stage 1 weed plant
    { name = 'wh_b_weed_stage_1b',    enable = false }, -- Stage 2 weed plant
    { name = 'wh_b_weed_stage_1c',    enable = false }, -- Stage 3 weed plant
    { name = 'wh_b_weed_stage_1d',    enable = false }, -- Stage 4 weed plant
    { name = 'wh_b_weed_stage_2a',    enable = false }, -- Weed drying
    { name = 'wh_b_weed_storage',     enable = false }  -- Weed storage
}
```

### Custom framework integration

You can for sure disable our script (`cfx_gn_warehouses\entityset\config.lua` + `cfx_gn_warehouses\entityset\main.lua`) and create your own entity set system.\
You could use a custom script to let players manage the entity sets based on your own job/gang features, allowing players to manage any warehouse in runtime.

Our team is open to any proposal of this kind of script, so developers, feel free to open a ticket on our [**Discord**](https://discord.com/invite/gnstudio)!

***

## Locations

There is 17 warehouses placed all around the map. Here is all coordinates:

|    | Interior coords           | Teleport coords                  | Warehouse type |
| -- | ------------------------- | -------------------------------- | -------------- |
| 1  | 831.33, -951.41, 27.95    | 850.38, -951.22, 26.28, 87.44    | Big            |
| 2  | 748.00, -1290.94, 27.71   | 730.84, -1291.29, 26.28, 266.63  | Small          |
| 3  | 941.46, -1556.37, 32.52   | 922.78, -1556.56, 30.77, 271.70  | Big            |
| 4  | 937.27, -1697.15, 31.52   | 955.50, -1698.45, 29.47, 81.68   | Small          |
| 5  | 858.12, -2380.47, 31.77   | 859.47, -2361.49, 30.34, 174.75  | Small          |
| 6  | 1072.12, -2402.57, 32.00  | 1089.34, -2403.66, 30.56, 85.85  | Big            |
| 7  | 1204.64, -3124.17, 6.95   | 1204.61, -3106.47, 5.60, 182.31  | Big            |
| 8  | 1711.63, -1539.61, 114.08 | 1705.85, -1556.45, 112.63, 336.6 | Big            |
| 9  | -1224.65, -731.80, 23.10  | -1210.05, -720.13, 21.59, 127.47 | Small          |
| 10 | *removed*                 | *removed*                        | *removed*      |
| 11 | -619.93, -1770.69, 25.38  | -634.27, -1780.93, 24.09, 306.65 | Small          |
| 12 | -83.39, -1811.91, 28.37   | -68.85, -1823.78, 26.94, 54.07   | Big            |
| 13 | -118.69, -2506.23, 7.53   | -109.30, -2491.96, 6.01, 140.1   | Small          |
| 14 | -323.65, -2448.70, 7.44   | -336.23, -2438.53, 6.00, 240.20  | Small          |
| 15 | 57.53, 170.65, 106.19     | 73.65, 164.82, 104.70, 66.57     | Big            |
| 16 | 2799.03, 1457.80, 25.98   | 2803.15, 1474.43, 24.55, 172.73  | Big            |
| 17 | 159.36, 6373.36, 32.96    | 145.27, 6365.63, 31.52, 298.56   | Small          |
| 18 | 34.39, 6470.99, 32.86     | 47.34, 6457.68, 31.42, 47.16     | Big            |

<figure><img src="https://956055036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDn0zffim5ROAw42qjdDs%2Fuploads%2FAm1ccPe9HStJyICrv1yJ%2Fgn_warehouses_gtav_map.webp?alt=media&amp;token=73c80e9d-9eaa-4d0c-b7e6-8ba95a0a95dc" alt=""><figcaption></figcaption></figure>

## Disable a warehouse

By default, all placement are enabled.\
To disable a location, go into `cfx_gn_warehouses/stream/placement`, and remove the folder with the associated number.\
\
Note: *To easily keep a backup, you suggest you to create a `disabled` folder beside the stream folder and store the location in it. Then you can put it back to enable it later.*

## Enable a warehouse

By default, all placement are enabled.\
If you previously disabled a location, just put it back into `cfx_gn_warehouses/stream/placement`.\
To enable a location, go into `cfx_gn_warehouses/stream/placement`, and make sure the folder with the associated number is here.

***

#### F.A.Q

* **Can the textures be modified?**\
  You can modify the textures within the .ytd files located in the resource `cfx_gn_warehouses`
* **How do you manage or create compatibility if there's a conflict with another map?**\
  You will need to check if there are any conflicting files in `cfx_gn_warehouses/stream/placement` folder. If you have duplicate files in other sources, you will need to create a compatibility layer. Alternatively, if it works for you, you can simply delete the specific warehouse locations involved.

***

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Visit and discover our assets.</td><td><a href="https://956055036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDn0zffim5ROAw42qjdDs%2Fuploads%2Fgit-blob-5a5cfa69712459e791fbe46507c9a48522adba79%2FSHOWCASE%20BANNER.png?alt=media">SHOWCASE BANNER.png</a></td><td><a href="https://cfx.re/join/lpa6k4">https://cfx.re/join/lpa6k4</a></td></tr><tr><td>Extra help? Join our Discord.</td><td><a href="https://956055036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDn0zffim5ROAw42qjdDs%2Fuploads%2Fgit-blob-7024f940e6b78c4ff961cdd8e21d9fa9c3b86b1a%2FDISCORD%20BANNER.png?alt=media">DISCORD BANNER.png</a></td><td><a href="https://discord.gg/gnstudio">https://discord.gg/gnstudio</a></td></tr></tbody></table>

<figure><img src="https://956055036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDn0zffim5ROAw42qjdDs%2Fuploads%2Fgit-blob-060870d06f70894957911252f455cec2ea41eb86%2Fgn_sub_pack_ban.jpg?alt=media" alt=""><figcaption><p><a href="https://gn.studio/subscription"><em><mark style="color:blue;"><strong>Please note you can get this MLO with the Subscription Package.</strong></mark></em></a></p></figcaption></figure>
