> 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/highway-patrol-la-mesa.md).

# Highway Patrol - La Mesa

A Highway Patrol complex in La Mesa, Los Santos, with a headquarters interior, a garage and configurable outdoor areas. Use the included IPL script to choose whether the impound, motorcycle training course and helipad props appear on your server.

***

## How to install the asset?

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

Install both resources included with the product: `cfx_gn_lamesa_hwpat` (mapping) and `cfx_gn_lamesa_hwpat_script` (IPL loader).

**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\_patrol\_garage\_dlc](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc\&search=G%26N%27s+-+%5BDLC%5D+Patrol+Garage)
* [cfx\_gn\_pd\_props\_dlc](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc\&search=G%26N%27s+-+%5BDLC%5D+Police+Props)
* [cfx\_gn\_lamesa\_hwpat + cfx\_gn\_lamesa\_hwpat\_script](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc\&search=G%26N%27s+-+SAHP+-+La+Mesa+Police+Department)

**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**

Add the following lines to your `server.cfg`, with dependencies before the mapping and its script:

```cfg
ensure cfx_gn_lamesa_hwpat
ensure cfx_gn_lamesa_hwpat_script
ensure cfx_gn_collection
ensure cfx_gn_patrol_garage_dlc
ensure cfx_gn_pd_props_dlc
--
ensure cfx_gn_doorstuning
ensure cfx_gn_audio
```

The `cfx_gn_doorstuning` and `cfx_gn_audio` lines apply when you have the extra content listed above.

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

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

***

## **Characteristics**

* Highway Patrol headquarters MLO in La Mesa
* Garage MLO
* Outdoor impound, motorcycle training course and helipad props controlled by IPLs
* Included IPL configuration script
* Customizable textures (`.ytd`)
* Editable vanilla files in `stream/base`

***

## **Customizable IPLs**

Each IPL can be enabled or disabled independently in `gn_lamesa_hwpat_ipls.lua`, inside `cfx_gn_lamesa_hwpat_script`.

<table><thead><tr><th width="307.5555419921875">IPL</th><th>Description</th><th>Enabled by default</th></tr></thead><tbody><tr><td><code>gn_lm_hwpat_impound_strm</code></td><td>Outdoor impound layout.</td><td>Yes</td></tr><tr><td><code>gn_lm_hwpat_bike_training_strm</code></td><td>Outdoor motorcycle training course.</td><td>No</td></tr><tr><td><code>gn_lm_hwpat_helipad_strm</code></td><td>Props for the helipad area.</td><td>Yes</td></tr></tbody></table>

***

## Script

Choose your IPLs by changing `enabled` to `true` or `false`. Follow the short guide below to apply your changes.

{% content-ref url="/pages/eNuULS0YkoOG0v5evn7E" %}
[La Mesa IPL Script](/doc/los-santos/highway-patrol-la-mesa/la-mesa-script.md)
{% endcontent-ref %}

***

#### F.A.Q

* **Can the textures be modified?**\
  You can modify the textures within the .ytd files located in the resource `cfx_gn_lamesa_hwpat`
* **Where is the interior located so I can teleport there?**\
  `818.2733, -1290.2261, 26.2988`
* **What are the coordinates for the MLO interior placement?**\
  `844.314, -1295.772, 28.830`
* **How do you manage or create compatibility if there's a conflict with another map?**\
  Check your other resources to ensure you don't have duplicate files. You can also find them in the stream/base folder of the project resource.\
  `hei_id2_00.ymap, hei_id2_07.ymap, hei_id2_07_critical_0.ymap, hei_id2_07_long_0.ymap, hei_id2_07_strm_0.ymap, hei_id2_occl_00.ymap, hei_id2_occl_01.ymap, hei_id2_rd_critical_0.ymap, hei_id2_rd_long_0.ymap, hei_id2_rd_strm_0.ymap, hei_id2_rd_strm_1.ymap, hi@id2_00_2.ybn, hi@id2_07_0.ybn, id2_00_1.ybn, id2_00_build06.ydr, id2_00_slod_4_children.ydd, id2_07_0.ybn, id2_07_build1_decal.ydr, id2_07_build_69dt.ydr, id2_07_emissive.ydr, id2_07_fizze_00.ydr, id2_07_fizze_01.ydr, id2_07_fizzk_00.ydr, id2_07_fizzk_01.ydr, id2_07_fizzk_02.ydr, id2_07_fizzk_03.ydr, id2_07_gar1_a.ydr, id2_07_gar1_b.ydr, id2_07_gar1_bov.ydr, id2_07_ground.ydr, id2_07_land_02_decal_b.ydr, id2_07_slod1_children.ydd, id2_07gutterfizz5.ydr, id2_lod_00b_slod2_children.ydd, id2_lod_02_07_08_children.ydd, id2_lod_slod4_children.ydd, id2_rd_4.ybn, id2_rd_id2_roadfur.ydr, id2_rd_r6_04.ydr, ma@id2_07_0.ybn, vw_distlodlights_medium019.ymap, vw_lodlights_medium019.ymap`

***

<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>
