CR LEAKS
Administrative
BeAware-Elevator
A highly configurable ESX elevator script based on NativeUIFeatures:
- Multiple Floors
- Job whitelist
- Item whitelist
- Configurable Text
Config
Option | Description | Default |
---|---|---|
Config.MarkerDistance | Disctance where markers get rendered | 50 |
Config.Key | Key to open elevator menu | 38 |
Config.Description | Header text (universal) | “Elevator” |
Config.TooFarAway | Error text if you are too far away | “Too far away” |
Config.NoPermission | Error text if you have insufficient permissions | “insufficient permissions” |
Config.ScreenFade | Change if the Screen fades black | true |
Dependency
NativeUILua: Get itDownload
Download:Help
- Marker Types:
- Controls:
- Text Formatting:
Example
Casino = {{
text = ("Press ~INPUT_PICKUP~ to use the Elevator"),
label = ("Entrance"),
description = ("Go to the Entrance"),
marker = {type = 1, scale = 3.0, height = 0.5, r = 0, g = 255, b = 255, a = 200},
coords = {x = 924.43, y = 46.87, z = 80.11, h = 60.01},
},
{
text = ("Press ~INPUT_PICKUP~ to use the Elevator"),
label = ("Roof"),
description = ("Enter Roof"),
marker = {type = 1, scale = 1.5, height = 0.5, r = 0, g = 255, b = 255, a = 200},
coords = {x = 964.49, y = 58.76, z = 111.55, h = 55.63},
jobs = {
["police"] = 2,
["ambulance"] = 1,
},
items = {
"bread",
"water",
},
},
},
Download: