L2S Documentation
DiscordTebex
  • Documentation
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Coding Information
    • Webhook System
    • Register Key Mapping
    • Translation System
  • ASSETS & GUIDES
    • 🚨Dispatch
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • API
        • Hub
        • CCTV
        • Dispatch
        • UI
      • 💻Integration
        • Exports
          • Client
          • Server
        • Police Alerts
        • Radio Channel
        • Duty System
    • 🏨Hotels V2
      • ⤵️Installation
      • ⚙️Configuration
        • Config
        • Elevators
        • Hotels
      • 💻Exports
    • 👮Police Hub
      • ⤵️Installation
      • ⚙️Configuration
      • 💻Events & Alerts
    • 💀Gangs Turf
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Gangs
      • 💻Exports
      • 📚Tutorial
    • 🔫Paint Ball
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Clothes
        • Locations
      • 💻Exports
Powered by GitBook
On this page
  1. ASSETS & GUIDES
  2. Hotels V2
  3. Configuration

Elevators

How to add new elevators ?

1- Go to sh_elevators.lua and add new elevator

   ['uniqe-elevatorID'] = {
        [1] = {
            coords = vec3(-658.87, -1110.55, 15.06),
            heading = 62.64, 
            title = 'Main Floor', 
            description = 'Lobby & Reciption',
            target = {
                width = 2.6,
                length = 2,
                heading = 334,
            } 
        },
        [2] = {
            coords = vec3(-655.47, -1110.4, 21.834287643433),
            heading = 62.64, 
            title = 'Floor 1', 
            description = 'Floor 1',
            target = {
                width = 2.6,
                length = 2,
                heading = 334, 
            } 
        },

         -- ...

    },

2- Add the uniqe-elevatorID in hotel configuration

Elevators = {['uniqe-elevatorID'] = true, ['uniqe-elevatorID-2'] = true}, -- In sh_elevators.lua
PreviousConfigNextHotels
🏨
⚙️