um-spawn
- Select your framework
Framework
- Make sure your
qbx_core or qb-core
version are not old
Installation
Firstly
- delete
qb-spawn
orqbx_spawn
or other-spawn - If you get an collation error, you need to change the sql to your database collation
- import >
spawnbookmarks.sql
click download SQL (opens in a new tab)
Multicharacter
- This auto loads the event, you don't need to do anything else
Convar (server.cfg)
⚠️
If you don't want, or don't have, an apartment inside start for new users, make these false
- Add this to your server.cfg
# um config
setr um:NewPlayerApartmentInsideStart "true"
Config (Important ones)
house and apartment settings are always important
⚠️
If you don't have house scripts like qb-houses, qbx_properties, bcs, qs, ps, nolag etc, set houses to false
um.property = {
apartments = true,
houses = true
}
Any apartment script
-
The apartment names and types of your apartment script must match the apartments in um-spawn
-
If it is not default, edit and matches apartments
-
um-spawn > bridge > apartments > list > .lua
Server.cfg
💡
um-spawn should always ensure after things like apartments and houses scripts.
# um config
setr um:NewPlayerApartmentInsideStart "true"
ensure oxmysql
ensure ox_lib
--------------
ensure qb-core
ensure [qb]
ensure [standalone]
--------------
ensure um-spawn
You have completed the installation ✅
Event
- Event to access or open the spawn menu
TriggerEvent('um-spawn:client:startSpawnUI')