forked from cedricalpatch/fxserver-esx_ambulancejob
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.lua
169 lines (133 loc) · 3.87 KB
/
config.lua
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Config = {}
Config.DrawDistance = 100.0
Config.MarkerColor = { r = 102, g = 0, b = 102 }
Config.MarkerSize = { x = 1.5, y = 1.5, z = 1.0 }
Config.ReviveReward = 700 -- revive reward, set to 0 if you don't want it enabled
Config.AntiCombatLog = true -- enable anti-combat logging?
Config.LoadIpl = true -- disable if you're using fivem-ipl or other IPL loaders
Config.Locale = 'fr'
local second = 1000
local minute = 60 * second
-- How much time before auto respawn at hospital
Config.RespawnDelayAfterRPDeath = 10 * minute
-- How much time before a menu opens to ask the player if he wants to respawn at hospital now
-- The player is not obliged to select YES, but he will be auto respawn
-- at the end of RespawnDelayAfterRPDeath just above.
Config.RespawnToHospitalMenuTimer = true
Config.MenuRespawnToHospitalDelay = 5 * minute
Config.EnablePlayerManagement = false
Config.EnableSocietyOwnedVehicles = false
Config.RemoveWeaponsAfterRPDeath = true
Config.RemoveCashAfterRPDeath = true
Config.RemoveItemsAfterRPDeath = true
-- Will display a timer that shows RespawnDelayAfterRPDeath time remaining
Config.ShowDeathTimer = true
-- Will allow to respawn at any time, don't use with RespawnToHospitalMenuTimer enabled!
Config.EarlyRespawn = false
-- The player can have a fine (on bank account)
Config.RespawnFine = false
Config.RespawnFineAmount = 500
Config.Blip = {
Pos = { x = 307.76, y = -1433.47, z = 28.97 },
Sprite = 61,
Display = 4,
Scale = 1.2,
Colour = 2,
}
Config.HelicopterSpawner = {
SpawnPoint = { x = 313.33, y = -1465.2, z = 45.5 },
Heading = 0.0
}
-- https://wiki.fivem.net/wiki/Vehicles
Config.AuthorizedVehicles = {
{
model = 'ambulance',
label = 'Ambulance'
}
}
Config.Zones = {
HospitalInteriorEntering1 = { -- Main entrance
Pos = { x = 294.2, y = -1448.60, z = 29.0 },
Type = 1
},
HospitalInteriorInside1 = {
Pos = { x = 272.8, y = -1358.8, z = 23.5 },
Type = -1
},
HospitalInteriorOutside1 = {
Pos = { x = 295.8, y = -1446.5, z = 28.9 },
Type = -1
},
HospitalInteriorExit1 = {
Pos = { x = 275.7, y = -1361.5, z = 23.5 },
Type = 1
},
HospitalInteriorEntering2 = { -- Lift go to the roof
Pos = { x = 247.1, y = -1371.4, z = 23.5 },
Type = 1
},
HospitalInteriorInside2 = { -- Roof outlet
Pos = { x = 333.1, y = -1434.9, z = 45.5 },
Type = -1
},
HospitalInteriorOutside2 = { -- Lift back from roof
Pos = { x = 249.1, y = -1369.6, z = 23.5 },
Type = -1
},
HospitalInteriorExit2 = { -- Roof entrance
Pos = { x = 335.5, y = -1432.0, z = 45.5 },
Type = 1
},
AmbulanceActions = { -- Cloakroom
Pos = { x = 268.4, y = -1363.330, z = 23.5 },
Type = 1
},
VehicleSpawner = {
Pos = { x = 307.76, y = -1433.47, z = 28.97 },
Type = 1
},
VehicleSpawnPoint = {
Pos = { x = 304.87, y = -1437.69, z = 28.80 },
Type = -1
},
VehicleDeleter = {
Pos = { x = 327.67, y = -1481.1, z = 28.83 },
Type = 1
},
Pharmacy = {
Pos = { x = 230.13, y = -1366.18, z = 38.53 },
Type = 1
},
ParkingDoorGoOutInside = {
Pos = { x = 234.56, y = -1373.77, z = 20.97 },
Type = 1
},
ParkingDoorGoOutOutside = {
Pos = { x = 320.98, y = -1478.62, z = 28.81 },
Type = -1
},
ParkingDoorGoInInside = {
Pos = { x = 238.64, y = -1368.48, z = 23.53 },
Type = -1
},
ParkingDoorGoInOutside = {
Pos = { x = 317.97, y = -1476.13, z = 28.97 },
Type = 1
},
StairsGoTopTop = {
Pos = { x = 251.91, y = -1363.3, z = 38.53 },
Type = -1
},
StairsGoTopBottom = {
Pos = { x = 237.45, y = -1373.89, z = 26.30 },
Type = -1
},
StairsGoBottomTop = {
Pos = { x = 256.58, y = -1357.7, z = 37.30 },
Type = -1
},
StairsGoBottomBottom = {
Pos = { x = 235.45, y = -1372.89, z = 26.30 },
Type = -1
}
}