Installation
-
Download the Script: Clone or download the repository and place it in your resources folder.
-
Add to Server Configuration: Add start Ins-Elevator to your server.cfg file.
-
Configure Elevators: Open client/main.lua and customize the elevators table with your desired elevator base coordinates and floor locations.
Features
-
Command-Based Teleportation: Players can use the /elevator [floor number] command to move between floors.
-
Customizable Elevators: Easily configure elevator locations and floor coordinates.
-
Proximity Check: Ensures players are near an elevator before allowing teleportation.
-
Lightweight and Optimized: Minimal impact on server performance.
Usage
-
Players can use the /elevator [floor number] command to teleport to the specified floor.
-
Example: /elevator 1 will teleport the player to the first floor.