FaustinResources

Spawn spots

Add, remove and group the spots in the spawn menu.

Add a spot

Stand where you want the spot in game and type /spawncoords. A finished line is copied to your clipboard and printed in F8. Paste it into Config.locations in config_spawns.lua, change the texts and restart the resource.

lua
{ id = 'pd_mrpd', group = 'city', label = 'Mission Row PD', district = 'Mission Row', icon = 'shield-halved',
  coords = vec4(428.0, -984.0, 30.7, 90.0),
  description = 'Start your shift at the station.',
  tag = 'Police', zoom = 5, job = 'police' },

Remove a spot

Delete its lines, or add enabled = false to keep it for later.

Fields

FieldWhat it does
idUnique key.
groupcity, county or anything you add to Config.groups.
labelName in the list.
districtSmall text under the name.
coordsvec4(x, y, z, heading). z only has to be close, the player is put on the ground under that point.
descriptionText under the big title.
iconFont Awesome 6 (free) icon name.
tagOptional pink chip, like Hospital or Popular.
zoomOptional map zoom. 1 is the whole state, 6 is closest.
jobOptional job name, or a list of names, that may use the spot.
enabledOptional. false hides the spot without deleting it.

Groups

Config.groups sets the sections in the list and their order. last and property are filled in automatically.

lua
Config.groups = {
    { id = 'last', label = 'Continue' },
    { id = 'property', label = 'Your properties' },
    { id = 'city', label = 'Los Santos' },
    { id = 'county', label = 'Blaine County' },
}

Where new characters start

Config.firstSpawn in config.lua says which spot new characters are offered first. The default is lsia, the airport.