Elevators
Configuration
Configuration for Elevators.
Configuration (config.lua)
| Option | Description |
|---|---|
Config.Bridge.Framework / Notify / Target | Integrations ('auto' detects them) |
Config.Travel | Fade times, ride time, arrival sound, allow use in vehicles |
Config.InteractKey | Key for marker / text prompt floors (38 = E) |
Config.Marker | Marker type, size and color |
Config.Elevators | The 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