Elevators

Configuration

Configuration for Elevators.

View in store

Configuration (config.lua)

OptionDescription
Config.Bridge.Framework / Notify / TargetIntegrations ('auto' detects them)
Config.TravelFade times, ride time, arrival sound, allow use in vehicles
Config.InteractKeyKey for marker / text prompt floors (38 = E)
Config.MarkerMarker type, size and color
Config.ElevatorsThe elevators – see below

Adding an elevator

lua
Config.Elevators['my_building'] = {
    label = 'My Building',
    job = false,                            -- everyone
    floors = {
        {
            label = 'Ground Floor',
            coords = vector3(0.0, 0.0, 0.0), -- where you interact
            spawn = vector4(0.0, 0.0, 0.0, 0.0), -- where you arrive (w = heading)
            method = 'target',              -- 'target' | 'marker' | 'textui'
            distance = 2.0,
            radius = 1.0,                   -- target zone size
        },
        {
            label = 'Office',
            coords = vector3(0.0, 0.0, 10.0),
            spawn = vector4(0.0, 0.0, 10.0, 0.0),
            method = 'marker',
            distance = 1.5,
            job = { police = 2 },           -- police, grade 2 or higher
        },
    },
}

job accepts false, 'police', { 'police', 'ambulance' } or { police = 2, ambulance = 0 } (job → minimum grade).

Last updated