> For the complete documentation index, see [llms.txt](https://atascripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atascripts.gitbook.io/docs/resource/pause-menu-3d-map/installation.md). Agents can also search and read this documentation through its [MCP server](https://atascripts.gitbook.io/docs/~gitbook/mcp).

# Installation

1. put `ata_pauseMenu` and `ata_pauseMap` in your resources folder
2. add both to your `server.cfg`

```
ensure ata_pauseMap
ensure ata_pauseMenu
```

3. restart your server

thats it, no database, no items, no framework setting

## before you start

* turn off any other pause menu or minimap script, two scripts on the same key fight each other
* the GTA radar is hidden by the script, the 3D minimap takes its place, if your HUD shows its own minimap frame you can turn that part off
* the order of the two resources doesnt matter, each one finds the other by itself

## hide your HUD while the menu is open

when the pause menu, the settings or the free camera is open the player gets a state bag, `LocalPlayer.state.pauseMenu` is `true`

your HUD can read it and hide itself

```lua
CreateThread(function()
    while true do
        local hide = LocalPlayer.state.pauseMenu
        -- hide or show your hud here
        Wait(200)
    end
end)
```
