uyuyorumstore
um-multicharacter-xviHow-to Guides

Spawn

Where new and existing characters spawn

Paths

main.lua
spawns.lua

Spawn, apartment and housing scripts are found by themselves. Nothing to set up for them.

New Characters

server.cfg
setr um:NewPlayerApartmentInsideStart "true"

"true": the new character goes to the first started script of this list:

Script
um-ronin-spawnAuto
um-spawnAuto
ps-housingAuto
okokSpawnSelectorAuto
vms_spawnselectorAuto
bcs_housingAuto
qbx_propertiesAuto
qb-apartmentsAuto
qbx_apartmentsAuto
0r-apartmentAuto

"false": the new character spawns at defaultSpawn.

config > main.lua
-- New character spawn when apartmentStart is off
defaultSpawn = vec4(-1037.11, -2736.96, 20.17, 323.76),

Existing Characters

config > main.lua
-- true: existing characters spawn at their last location, no spawn menu
onlyLastLocation = false,

If one of these scripts is started, it takes over:

Script
um-ronin-spawnAuto
um-spawnAuto
okokSpawnSelectorAuto
vms_spawnselectorAuto
qbx_spawnAuto
qb-spawnAuto

Otherwise the built-in spawn map opens.

Spawn Map

The map shows the last location, the points from config > spawns.lua and the character's homes.

config > spawns.lua
return {
    {
        id = 'airport',
        label = 'Los Santos Airport',
        description = 'Arrivals hall at LSIA.',
        icon = 'plane',
        coords = vec4(-1037.11, -2736.96, 20.17, 323.76),
    },
}

Icons: plane, building, shield, bed, beach, anchor, home, pin, heart, cash, bank, calendar, lock, search, check, plus, trash, power, chevron, male, female

return {} turns the map off.

Homes

Script
um-propertyAuto
qbx_propertiesAuto
ps-housingAuto
bcs_housingAuto
nolag_propertiesAuto
snipe-motelAuto
qb-apartments / qbx_apartmentsAuto
qb-houses / qs-housingAuto

On this page