Configuration

Page dedicated to how to configure our Spawn Selector [V2]

Configuration Guide (config.lua & config/default_data.lua)

Behavioral Settings The script's behavior drastically changes depending on whether you are using a character selection screen before it.

-- SET TO TRUE: If you are using qf_multicharacter. 
-- The multicharacter script will manually command the spawn selector to open when needed.
Config.UseQFMulticharacter = true 

-- SET TO TRUE: ONLY if you are NOT using a multicharacter script.
-- This forces the spawn selector to automatically trigger the moment the player connects.
Config.AutoOpen = false           

-- Toggles the iconic GTA V "zoom out to clouds, zoom into ground" cinematic camera effect.
Config.UseGTASwitch = true        

-- Allows the player to select the exact coordinate where they previously disconnected.
Config.AllowLastLocation = true   

Defining Spawn Locations Locations are defined in config/default_data.lua. You can restrict specific spawns to certain jobs or assign a cost to use a spawn point.

Config.Spawns = {
    {
        id = "lspd_hq",
        label = "Mission Row PD",
        description = "Authorized personnel only.",
        coords = vector4(425.1, -979.5, 30.7, 90.0),
        icon = "lock", 
        type = "free",
        -- JOB RESTRICTION: Only Police grade 0 or higher can see/use this spawn
        jobs = { 
            { name = "police", grade = 0 } 
        }
    },
    {
        id = "motel",
        label = "Pink Cage Motel",
        description = "A cheap place to crash.",
        coords = vector4(314.5, -278.5, 54.1, 0.0),
        icon = "dollar",
        type = "paid",
        price = 500 -- Deducts $500 from the player's bank/cash upon selection
    }
}

Last updated