FreeScriptQBCore
jp-elevator
by JP5M · version 2025.09.07 · updated 2 days ago
No reviews yet
- Downloads
- 0
- Reviews
- 0
- Size
- 450 KB
- Code check
- Clean
- Licence
- GPL-3.0
- Released
- Nov 2026
JP Elevator Script using ox_lib
JP Elevator Script
Edit config.lua to customize elevators, floors, and behavior:
Installation
Author: JP5MFeatures
A configurable FiveM elevator system for GTA V, supporting multiple buildings, floors, and interaction systems. Built with ox_lib.
- Multiple elevators and buildings, each with custom floors
- Configurable floor names, descriptions, and teleport locations
- Supports both
ox_targetandsleepless_interacttargeting systems - Optional screen fade and sound effects for immersive transitions
- Easy-to-edit configuration file (config.lua)
Edit config.lua to customize elevators, floors, and behavior:
- screenFade: Enable/disable fade in/out effect when teleporting
- sound: Enable/disable elevator sound
- fadeDuration: Duration of fade effect in milliseconds
- interact: Target system to use (
ox_targetorsleepless_interact) - targetLabel: Label shown for elevator interaction
- elevators: List of elevator groups/buildings
- Each elevator has a
name,id, and a list offloors - Each floor has a
label,description,coords(teleport location), andinteraction(target location)
{
name = "Medical Department",
id = "medical_department",
floors = {
{
label = "Achte Etage",
description = "Management & Konferenzräume",
coords = vector4(-1829.3250, -336.9168, 84.0602, 143.8193),
interaction = vector3(-1827.6355, -336.3678, 84.059)
},
-- more floors...
}
}Installation
- Place the
jp-elevatorfolder in your server's resources directory. - Ensure you have ox_lib installed and started before this resource.
- Add
ensure jp-elevatorto yourserver.cfg.
- Approach an elevator interaction point (as defined in config.lua).
- Use the interaction key (as configured by your target system) to open the elevator menu.
- Select your desired floor; you will be teleported with optional fade and sound effects.
- The web folder contains
index.htmlandsound.mp3for UI and sound effects.