Repository navigation
Expand file tree
/
Copy pathconfig.lua
More file actions
59 lines (57 loc) · 2.07 KB
/
Copy pathconfig.lua
File metadata and controls
59 lines (57 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Config = {
Lan = "en",
System = {
Debug = true, -- set true to view target/ped areas
Menu = "ox", -- "qb", "ox"
Notify = "ox", -- "qb", "ox", "esx, "okok", "gta"
ProgressBar = "ox", -- "qb", "ox"
},
UIPosition = 'left', --'left' / 'center' / 'right' (add more positions in html,script.js)
UseElevatorSound = 'elevator',
SoundVolume = 0.1, -- volume of elevator sound
ElevatorLabel = "Use Elevator",
Elevators = { --you must set up elevators for your server. i just provided a way to do that
['mrpd_main'] = { --this must be unique (THIS IS THE ELEVATOR)
JobCode = 'police', --jobocde or false
Floors = { --add floors here. max is about 14 per elevator (due to UI)
[1] = {
ID = 1, --must be unique to this elevator
Label = "G Floor", --label for button and notify
Coords = vector4(414.33, -962.09, 29.48, 339.17),
},
[2] = {
ID = 2,
Label = "1st Floor",
Coords = vector4(415.27, -941.16, 29.42, 171.9),
},
[3] = {
ID = 3,
Label = "2nd Floor",
Coords = vector4(415.27, -941.16, 29.42, 171.9),
},
[4] = {
ID = 4,
Label = "3rd Floor",
Coords = vector4(415.27, -941.16, 29.42, 171.9),
},
},
},
['hospital'] = {
JobCode = false,
Floors = {
[1] = {
Label = "Ground Floor",
Coords = vector4(0,0,0,0),
},
[2] = {
Label = "First Floor",
Coords = vector4(0,0,0,0),
},
[3] = {
Label = "Second Floor",
Coords = vector4(0,0,0,0),
},
},
},
},
}