5BV-Elevator is a highly configurable elevator script for FiveM, supporting multiple frameworks and interaction systems.
It allows players to move between floors in buildings via elevator panels, with job restrictions, emergency dispatch integration, Discord logs, and customizable UI.
Preview 1 - https://youtu.be/ChuB3yx8eUo
preview 2 - https://youtu.be/POBKMz1I__8
## Features
- Multiple elevators with custom labels and floors
- Support for ox_target or j-textui for interactions
- Progress bar integration (ox, esx, qb, newbar)
- Job-restricted floor access
- Emergency button with dispatch integration (ND_MDT, aty_dispatch or custom)
- Discord webhook logging
- Customizable display color and UI
- Easy to configure via `config.lua`
- Elevator sounds via interact-sound resource
Dependencies
- [ox_target](https://github.com/overextended/ox_target)
or
- [j-textui](https://github.com/jonassvensson4/j-textui) (interaction)
- [progressbar](https://github.com/rohKane/progressbar) (for custom progress bar)
- (Optional) [ND_MDT](https://github.com/ND-Framework/ND_MDT), [aty_dispatch](https://github.com/aty-dispatch/aty_dispatch) (for emergency dispatch)
- ESX or QB-Core (for job detection)
- [interact-sound](https://github.com/plunkettscott/interact-sound) (required, for elevator sounds)
## Customization
- Add or remove elevators and floors in `config.lua`.
- Change display colors, labels, and job restrictions as needed.
- Integrate with different dispatch systems by modifying the `dispatch` value and related client code.
- Enable Discord logging for usage tracking.

## Usage
- Approach an elevator marker or target zone.
- Press E (or interact via ox_target) to open the elevator panel.
- Select the desired floor; access may be restricted by job.
- Use the emergency button for dispatch integration (if enabled).
- Elevator will transport your player and handle animations, sounds (via interact-sound), and UI.