NTeam Development
  • MAIN
  • INFORMATION
    • Support
    • Licenses
  • FAQ
    • You lack the required entitlement to use
    • Random props on map / textures bug / missing buildings
    • sp_manifest.ymt error?
    • Stuck on loading screen?
  • TUTORIALS
    • Conflicts
    • Bilboards
  • MAPS
    • Installation
    • Los Santos River
      • Installation
    • Custom Caffe
      • Elevator script
    • Mile High
      • Versions
      • Elevator script
    • Bridge V2
      • Blockade Script
    • Borders
      • Borders script
    • Monorail
    • Hospital
  • SCRIPTS
    • Admin Panel
      • ESX
        • Installation
        • Config
        • Webhook
      • QB-Core
        • Installation
        • Config
        • Webhook
    • Job Dashboard
      • ESX
        • Installation
        • Config
        • Presets
        • Logs
    • Pause Menu
      • ESX & QB-Core
        • Installation
        • Config
        • Style
    • Train scenario script
Powered by GitBook
On this page
  1. MAPS
  2. Custom Caffe

Elevator script

This is guide how to enable our Elevator script in your Custom Caffe Map

PreviousCustom CaffeNextMile High

Last updated 11 months ago

  1. Navigate to cfx-nteam-ccafe/elevator/elevator-editable.lua

  2. Set Config.EnableElevator to true

  3. Chose if you want to use ox_target | qtarget | ox_lib points (marker) in Config.Teleporter

  4. If you are using ox_lib point you can decide if you want marker in Config.DrawSprite

If you don't have ox_lib download it from this link

Here is preview of elevator-editable.lua

```lua
Config = {}

Config.EnableElevator = true

Config.Teleporter = 3 -- 1 = qtarget | 2 = ox_target | 3 = ox_lib point

Config.DrawSprite = true  -- Set this true|false only if using ox_target

Config.Text = {

	['elevator_go_up'] = 'Enter Custom Caffe',
	['elevator_go_down'] = 'Exit Custom Caffe',

}

```
https://github.com/overextended/ox_lib/releases