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
setr um:NewPlayerApartmentInsideStart "true""true": the new character goes to the first started script of this list:
| Script | |
|---|---|
| um-ronin-spawn | Auto |
| um-spawn | Auto |
| ps-housing | Auto |
| okokSpawnSelector | Auto |
| vms_spawnselector | Auto |
| bcs_housing | Auto |
| qbx_properties | Auto |
| qb-apartments | Auto |
| qbx_apartments | Auto |
| 0r-apartment | Auto |
"false": the new character spawns at defaultSpawn.
-- New character spawn when apartmentStart is off
defaultSpawn = vec4(-1037.11, -2736.96, 20.17, 323.76),Existing Characters
-- 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-spawn | Auto |
| um-spawn | Auto |
| okokSpawnSelector | Auto |
| vms_spawnselector | Auto |
| qbx_spawn | Auto |
| qb-spawn | Auto |
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.
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-property | Auto |
| qbx_properties | Auto |
| ps-housing | Auto |
| bcs_housing | Auto |
| nolag_properties | Auto |
| snipe-motel | Auto |
| qb-apartments / qbx_apartments | Auto |
| qb-houses / qs-housing | Auto |