Configuration

  • General Settings

PH.UseTarget = false
PH.TargetResource = 'qb-target' -- or 'ox_target' (only qb-target is built-in below)

-- Interaction distance when not using target
PH.InteractDistance = 1.7

-- Screen fade when teleporting
PH.FadeTime = 1500
  • Elevator List

PH.Elevators = {
    ['pillbox'] = {
        label = 'Pillbox Elevator',
        pin = '1234',               -- 4-digit PIN for private floor
        privateFloor = 5,           -- floor number for the private floor (matches UI logic)
        floors = {
            [1] = {
                label = 'Lobby', -- Floor name shown in the UI
                coords = vector4(), -- Teleport destination (x, y, z, heading)
                interact = vector3(),  -- Interaction point where players open the elevator
            },
            [2] = {
                label = 'Offices',
                coords = vector4(),
                interact = vector3(),
            },
            [3] = {
                label = 'Ward',
                coords = vector4(),
                interact = vector3(),
            },
            [4] = {
                label = 'Roof',
                coords = vector4(),
                interact = vector3(),
            },
            [5] = {
                label = 'Private',
                coords = vector4(),
                interact = vector3(),
                private = true,
            },
        }
    },
}

Last updated