NX Spawn Selector

Locations

Add spawn points, scenes, job-locked spawns and tags.

Spawn points are listed in Config.Locations. Add as many as you like. They appear in the order you write them, after Last Location.

Adding a location

config.lua
Config.Locations = {
    {
        label = 'Legion Square',
        description = 'The heart of downtown Los Santos',
        icon = 'fa-solid fa-city',
        coords = vec4(247.7821, -872.5255, 30.2922, 340.7462),
        scene = { scenario = 'WORLD_HUMAN_STAND_MOBILE' },
    },
    -- ...more locations
}
labelstring
Name shown in the selector.
descriptionstring
Small text under the name.
iconstring
Any free Font Awesome 6 icon, for example fa-solid fa-building.
coordsvec4
Where the player spawns: vec4(x, y, z, heading). The character faces the heading in the preview, and the camera films them from the front.
scenetabledefault: Config.Preview.defaultScene
Optional. What the character does in the preview.
jobstable
Optional. Only players with one of these ESX jobs see the location.
tagstring
Optional. A small badge next to the name, such as "Police".

Getting coords

Stand where you want players to spawn, facing the way the camera should film from, and copy your coords and heading with your usual coords tool. The camera sits in front of the character, so face towards the open space you want in the shot, not into a wall.

Scenes

Each location can give the character its own scenario or animation while players browse.

config.lua
-- A GTA scenario
scene = { scenario = 'WORLD_HUMAN_SMOKING' },

-- An animation
scene = { anim = { dict = 'anim@heists@heist_corona@single_team', clip = 'single_team_loop_boss' } },

Scenarios that look good in the preview:

ScenarioWhat it looks like
WORLD_HUMAN_STAND_MOBILELooking at their phone
WORLD_HUMAN_SMOKINGSmoking a cigarette
WORLD_HUMAN_DRINKINGDrinking from a cup
WORLD_HUMAN_CLIPBOARDHolding a clipboard
WORLD_HUMAN_HANG_OUT_STREETHanging out
WORLD_HUMAN_GUARD_STANDStanding guard
WORLD_HUMAN_LEANINGLeaning (best with a wall behind)

Leave scene out to use Config.Preview.defaultScene.

Job-locked spawns

Add jobs to show a location only to certain jobs, and a tag so players know why they can see it:

config.lua
{
    label = 'Mission Row PD',
    description = 'Clock in at the station',
    icon = 'fa-solid fa-shield-halved',
    coords = vec4(428.23, -984.28, 30.71, 3.5),
    jobs = { 'police' },
    tag = 'Police',
},
{
    label = 'Pillbox Medical',
    description = 'Start your shift',
    icon = 'fa-solid fa-truck-medical',
    coords = vec4(298.62, -584.52, 43.26, 70.0),
    jobs = { 'ambulance' },
    tag = 'EMS',
},

Use the job name from your jobs table (e.g. ambulance), not its label. The check uses the character's job when they log in.

Default locations

LocationSceneWho sees it
Legion SquarePhoneEveryone
Grove StreetSmokingEveryone
Pink Cage MotelSmokingEveryone
Pillbox HospitalClipboardEveryone
Sandy ShoresDrinkingEveryone
Paleto BayDefault animationEveryone
Mission Row PDCop stancePolice only