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

# \[QB] SpawnMenu Map

Spawn Menu Map for QBCore

Compatible with QBCore only

<figure><img src="https://3753958376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjHRcNvh2OlfqeGmFMCgw%2Fuploads%2Fj0NZwRY34DwJ5u1VuBmP%2Fspawn.png?alt=media&amp;token=8e2cb95b-e109-4621-8f3a-642b10e7b55c" alt=""><figcaption></figcaption></figure>

&#x20;\|             [Tebex ](https://xenscripts.tebex.io/package/5461490)          |             CFX.re            |             Youtube Preview           |        Discord        |

## Installation

### Dependencies

* [x] oxmysql - Download: <https://github.com/overextended/oxmysql>

### Installing in server

* Make sure oxmysql installed in resources folder
* Place xn-spawn.zip in resources folder
* Extract xn-spawn.zip
* Add `ensure oxmysql` (if not already present)
* Add `ensure xn-spawn`

### ps-housing support

* Add this line at end of `ps-housing/shared/config.lua`

```lua
exports('GetApartmentsConfig', function() return Config.Apartments end)
```

* Set below to `true` in `xn-spawn/config.lua`

```lua
QB.psHousing = true
```
