🏜️
Sahara Scripters
  • Welcome
    • Introduction
    • Community & Support
  • Premium Scripts
    • Charging Kiosk
      • Setup Guide
      • Configuration
      • Features
        • Charging System
        • Security
        • Rate Limiting
        • Logging System
        • Phones Management
        • Discord Integration
        • Target System
        • Blip System
        • Translations
      • Integration
        • Inventory Systems
        • Framework Migration
        • Logger Edit
      • Best Practices
      • Troubleshooting
      • Version History
  • Free Scripts
    • Elevator System
      • Setup & Configuration
      • Features Overview
      • Example Buildings
      • Troubleshooting
    • NPWD Renewed Weather APP
    • NPWD QBX Services APP
Powered by GitBook
On this page
  • 🏢 Office Building
  • 🏥 Hospital
  • 🏦 Bank
  1. Free Scripts
  2. Elevator System

Example Buildings

🏢 Office Building

return {
    id = 'office',
    name = 'Corporate Tower',
    description = 'Modern Office Complex',
    elevators = {
        {
            id = 'main',
            name = 'Main Elevator',
            floors = {
                {
                    id = 'lobby',
                    name = 'Lobby',
                    description = 'Ground Floor',
                    teleportCoords = vector4(100.0, 200.0, 30.0, 90.0),
                    target = {
                        coords = vector3(100.0, 200.0, 31.5),
                        size = vector3(0.5, 0.5, 0.5)
                    }
                },
                {
                    id = 'executive',
                    name = 'Executive Floor',
                    description = 'Management Only',
                    restricted = true,
                    requiredJobs = {
                        ['office'] = 2
                    }
                }
            }
        }
    }
}

🏥 Hospital

return {
    id = 'hospital',
    name = 'City Hospital',
    elevators = {
        {
            id = 'public',
            name = 'Public Elevator',
            floors = {
                -- Ground Floor (Public)
                {
                    id = 'reception',
                    name = 'Reception'
                },
                -- Staff Only Floor
                {
                    id = 'surgery',
                    name = 'Surgery',
                    restricted = true,
                    requiredJobs = {
                        ['ambulance'] = 0
                    }
                }
            }
        }
    }
}

🏦 Bank

{
    id = 'bank',
    name = 'Central Bank',
    elevators = {
        {
            id = 'vault',
            name = 'Vault Access',
            restricted = true,
            floors = {
                {
                    id = 'main',
                    name = 'Main Hall'
                },
                {
                    id = 'vault',
                    name = 'Vault Level',
                    requiredItems = {
                        {
                            name = 'vault_keycard',
                            count = 1
                        }
                    }
                }
            }
        }
    }
}

By Sahara Scripters - Because copying and pasting is an art form

PreviousFeatures OverviewNextTroubleshooting

Last updated 4 months ago