> For the complete documentation index, see [llms.txt](https://energy-fivem.gitbook.io/energy-mlos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://energy-fivem.gitbook.io/energy-mlos/maps/lspd.md).

# 🚓 LSPD

Police department MLO with a full interior, exterior with flags, banners, garden, guard booth and helipad cabin. Comes with its own light script: **chairs you can sit on** (one player per chair, several poses), **floor-by-floor minimap** inside the building and **no ambient NPCs** inside the MLO.

⚠️Map protected via Asset Escrow.

**Location:** `vec3(227.16, -414.18, 44.33)`

**LOAD**

* Put the folder in your `resources` and ensure it in `server.cfg`:

```cfg
ensure energy_metropolitandp
```

* Make sure you don't make a subfolder and don't rename the folder.
* If you use winscp or filezilla please verify that the file ".fxap" is sent successfully.
* If you had a problem with the mapping, maybe try uploading again, sometimes ftp can break files.

## Chairs (sit)

Walk up to a chair: a prompt **E · Sit** appears. Sitting: **A / D** (or **H**) change the pose, **F** stands up. One player per chair. Cuffed players can't sit (and stand up if cuffed while seated).

All keys are FiveM key mappings: players can change them in **Settings → Key Bindings → FiveM**. Default letters in `config/tt_pm_sentar_config.lua`:

```lua
TTSentar.Controles = {
    sentar       = { letra = 'E' },   -- sit
    levantar     = { letra = 'F' },   -- stand up
    poseAnterior = { letra = 'A' },   -- previous pose
    poseProxima  = { letra = 'D' },   -- next pose
    poseExtraLetra = 'H',             -- extra key for next pose (nil = off)
}
```

**Optimized:** the script sleeps outside the building, and the prompt only works per frame while you are next to a chair.

## Languages

```lua
-- config/tt_pm_sentar_config.lua
TTSentar.Idioma = 'en'   -- 'en' | 'pt-br' | 'es' | 'fr' | 'de' | 'it' | 'nl' | 'pl' | 'tr' | 'ru'
TTSentar.TextosExtra = { sentar = 'Take a seat' }   -- optional: change single texts
```

The texts are in `locales/` (one file per language). To add a language, copy `locales/en.lua`, rename it and add it to `fxmanifest.lua`.

## Colours

Prompt, key hints and notifications use the Energy blue. Change them in `TTSentar.Visual`:

```lua
TTSentar.Visual = {
    escala = 1.0,
    fundo = { r = 10, g = 13, b = 18, a = 210 },    -- background
    tecla = { r = 0, g = 166, b = 240, a = 255 },   -- key colour
    texto = { r = 255, g = 255, b = 255, a = 255 },
}
```

## Other options

| Option                                          | What it does                                                      |
| ----------------------------------------------- | ----------------------------------------------------------------- |
| `TTSentar.Ativo`                                | `false` turns the chairs off                                      |
| `TTSentar.Raio`                                 | Distance from the chair for the prompt (default `1.5`)            |
| `TTSentar.BloquearAlgemado` / `StatebagsAlgema` | Cuffed players can't sit; add your base's cuff statebag if needed |
| `TTSentar.PrenderCadeiras`                      | Office chairs stay frozen in place (don't slide when bumped)      |
| `TTSentar.Animacoes`                            | The sitting poses (dict, anim, offset, rotation)                  |

## Branding (textures)

The department identity textures (logo, facade, screens, flags) are **open** in `stream/identidade/` and `stream/addon_ext/*.ytd`: edit them with OpenIV / CodeWalker to use your own city or police logo.

**CONFLICT**

If you encounter conflicts with other mappings, check if you have these files in other mappings with a simple search, remove duplicates in the other mappings, then check if you have a problem with the other mapping in question.

🗂️ YMAP

apa\_distlodlights\_medium015.ymap

apa\_distlodlights\_medium022.ymap

apa\_distlodlights\_small031.ymap

apa\_distlodlights\_small047.ymap

apa\_lodlights\_medium015.ymap

apa\_lodlights\_medium022.ymap

apa\_lodlights\_small031.ymap

apa\_lodlights\_small047.ymap

distlodlights\_medium015.ymap

distlodlights\_medium022.ymap

distlodlights\_small030.ymap

distlodlights\_small046.ymap

hei\_distlodlights\_medium015.ymap

hei\_distlodlights\_medium022.ymap

hei\_distlodlights\_small031.ymap

hei\_distlodlights\_small047.ymap

hei\_hw1\_28\_long\_0.ymap

hei\_hw1\_28\_strm\_0.ymap

hei\_hw1\_occl\_01.ymap

hei\_hw1\_rd\_critical\_0.ymap

hei\_lodlights\_medium015.ymap

hei\_lodlights\_medium022.ymap

hei\_lodlights\_small031.ymap

hei\_lodlights\_small047.ymap

hw1\_occl\_01.ymap

lodlights\_medium015.ymap

lodlights\_medium022.ymap

lodlights\_small030.ymap

lodlights\_small046.ymap

m25\_2\_distlodlights\_medium015.ymap

m25\_2\_distlodlights\_medium022.ymap

m25\_2\_distlodlights\_small057.ymap

m25\_2\_lodlights\_medium015.ymap

m25\_2\_lodlights\_medium022.ymap

m25\_2\_lodlights\_small057.ymap

vw\_distlodlights\_medium015.ymap

vw\_distlodlights\_medium022.ymap

vw\_distlodlights\_small031.ymap

vw\_distlodlights\_small047.ymap

vw\_lodlights\_medium015.ymap

vw\_lodlights\_medium022.ymap

vw\_lodlights\_small031.ymap

vw\_lodlights\_small047.ymap

🗂️ YDR

hw1\_28\_dec\_.ydr

hw1\_28\_dec\_01.ydr

hw1\_28\_dec\_02.ydr

hw1\_28\_dec\_03.ydr

hw1\_28\_dec\_04.ydr

hw1\_28\_dec\_05.ydr

hw1\_28\_decal2.ydr

hw1\_28\_emissive.ydr

hw1\_28\_fences03.ydr

hw1\_28\_fences04.ydr

hw1\_28\_ground\_ft.ydr

hw1\_28\_handrailb1.ydr

hw1\_28\_lightprox\_c001.ydr

hw1\_28\_lightprox\_c002.ydr

hw1\_28\_lightprox\_c003.ydr

hw1\_28\_tower.ydr

hw1\_28\_tower\_fur\_00.ydr

hw1\_28\_tower\_fur\_01.ydr

hw1\_28\_tower\_fur\_04.ydr

hw1\_28\_tower\_fur\_05.ydr

hw1\_lod\_slod4.ydr

hw1\_rd\_04\_02.ydr

hw1\_rd\_04\_02\_ovly.ydr

hw1\_rd\_04\_06.ydr

v\_ilev\_ph\_cellgate.ydr

🗂️ YDD

hw1\_28\_emissive\_slod\_children.ydd

hw1\_28\_slod\_children.ydd

hw1\_lod\_24\_25\_28\_29\_children.ydd

hw1\_lod\_em\_24\_25\_28\_29\_children.ydd

hw1\_lod\_slod3\_emi\_proxy\_01\_children.ydd

hw1\_lod\_slod4\_children.ydd

hw1\_props\_combo0704\_slod\_children.ydd

hw1\_props\_combo0706\_slod\_children.ydd

hw1\_rd\_b9\_slod1\_children.ydd

🗂️ YBN

hei\_hw1\_rd\_1.ybn

hei\_hw1\_rd\_6.ybn

<hi@hei_hw1_rd_2.ybn>

<hi@hei_hw1_rd_6.ybn>

<hi@hw1_28_0.ybn>

hw1\_28\_0.ybn

<ma@hw1_28_0.ybn>

🗂️ YTD

hw1\_28\_ground\_ft+hidr.ytd

hw1\_28\_tower+hidr.ytd

hw1\_lod\_24\_25\_28\_29\_children.ytd

🗂️ YNV (navmesh)

navmesh\[123]\[108].ynv

navmesh\[123]\[111].ynv
