swag_elevator | QBCore + qb-target
Advanced Elevator System for FiveM
swag_elevator is a high-performance, map-independent elevator resource designed for FiveM. It allows for seamless vertical travel across custom MLOs and vanilla interiors through a fully configurable, production-ready system.
This resource is exclusively distributed via Tebex and utilizes the official FiveM Asset Escrow system.
π Key Features
- Modular Architecture: Supports multiple buildings and elevator banks simultaneously.
- Fully Config-Driven: Zero dependency on specific MLOs; works anywhere by setting coordinates.
-
Dual Interaction Modes: Supports both
qb-targetandTextUIfor player interactions. - Server-Side Security: Travel validation and anti-exploit measures to prevent "teleport hacking."
- Optimized Performance: Low MS overhead with anti-spam cooldowns and fail-safe cleanup.
- Immersive Experience: Optional cinematic camera transitions and screen-fade effects.
- Premium NUI: Modern, clean, and responsive panel-style user interface.
π Advanced Access Controls
Configure specific floor access based on:
- Jobs & Gangs: Restrict floors to specific jobs/gangs with grade-level support.
- CitizenID: Create private floors for specific players (Whitelisting).
- Item Requirements: Require a keycard or specific item to access floors.
- On-Duty Status: Restrict access unless the player is on-duty (e.g., Police/EMS).
- Visibility: Choose to hide restricted floors or show them as "Locked" in the UI.
π¦ Installation & Dependencies
Dependencies:
-
qb-core -
qb-target
Installation Steps:
- Drag and drop
swag_elevatorinto yourresources/[local]/folder. - Add
ensure swag_elevatorto yourserver.cfg(Ensure it starts after qb-core). - Configure your floors and locations in the
config.lua. - Restart your server or use
/elevatorreload.
π Admin & Debug Commands
-
/elevatordebug- Toggle debug lines for interaction points. -
/elevatorwhere- Get exact coordinates for config setup. -
/elevatorreload- Refresh configuration without restarting the resource.