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

# tgiann-esc-map

Day and night pause menu map with a TGIANN style location list next to it. The map switches between a day and a night texture set with the in game clock, draws Cayo Perico on the map and the radar, and the location panel lists every blip on the map with search, waypoint and hide controls.

## Installation

The script ships as two resources:

* `tgiann-esc-map-assets` holds the streamed map textures and the patched pause menu files.
* `tgiann-esc-map` holds the script itself.

Start the assets resource before the script in your `server.cfg`:

```
ensure tgiann-esc-map-assets
ensure tgiann-esc-map
```

The script depends on `ox_lib` and `tgiann-core`. Every pause menu, minimap or map texture replacement from another resource has to be removed, otherwise the two will fight over the same files.

## Controls inside the map

* Mouse wheel zooms the map.
* Arrow keys or the mouse move through the location list. Holding a key moves quickly.
* Enter or a double click on a row sets a waypoint on that blip. A double click on an empty spot sets a free waypoint, shown as a pinned row with a remove button.
* The checkbox on a row hides that blip on the map. The header button hides or shows every blip at once. Hidden blips are remembered per player.
* Esc closes the map.
