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
| Field | What it does |
|---|---|
id | Unique key. |
group | city, county or anything you add to Config.groups. |
label | Name in the list. |
district | Small text under the name. |
coords | vec4(x, y, z, heading). z only has to be close, the player is put on the ground under that point. |
description | Text under the big title. |
icon | Font Awesome 6 (free) icon name. |
tag | Optional pink chip, like Hospital or Popular. |
zoom | Optional map zoom. 1 is the whole state, 6 is closest. |
job | Optional job name, or a list of names, that may use the spot. |
enabled | Optional. 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.