forked from esx-framework/esx_ambulancejob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
186 lines (152 loc) · 5.19 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
Config = {}
Config.DrawDistance = 10.0 -- How close do you need to be in order for the markers to be drawn (in GTA units).
Config.Debug = ESX.GetConfig().EnableDebug
Config.Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
Config.ReviveReward = 700 -- Revive reward, set to 0 if you don't want it enabled
Config.SaveDeathStatus = true -- Save Death Status?
Config.LoadIpl = true -- Disable if you're using fivem-ipl or other IPL loaders
Config.Locale = GetConvar('esx:locale', 'en')
Config.DistressBlip = {
Sprite = 310,
Color = 48,
Scale = 2.0
}
Config.EarlyRespawnTimer = 60000 * 1 -- time til respawn is available
Config.BleedoutTimer = 60000 * 10 -- time til the player bleeds out
Config.EnablePlayerManagement = false -- Enable society managing (If you are using esx_society).
Config.RemoveWeaponsAfterRPDeath = true
Config.RemoveCashAfterRPDeath = true
Config.RemoveItemsAfterRPDeath = true
-- Let the player pay for respawning early, only if he can afford it.
Config.EarlyRespawnFine = false
Config.EarlyRespawnFineAmount = 5000
Config.OxInventory = ESX.GetConfig().OxInventory
Config.RespawnPoints = {
{coords = vector3(341.0, -1397.3, 32.5), heading = 48.5}, -- Central Los Santos
{coords = vector3(1836.03, 3670.99, 34.28), heading = 296.06} -- Sandy Shores
}
Config.PharmacyItems = {
{
title = "Medikit",
item = "medikit"
},
{
title = "Bandage",
item = "bandage"
},
}
Config.Hospitals = {
CentralLosSantos = {
Blip = {
coords = vector3(307.7, -1433.4, 28.9),
sprite = 61,
scale = 1.2,
color = 2
},
AmbulanceActions = {
vector3(270.5, -1363.0, 23.5)
},
Pharmacies = {
vector3(230.1, -1366.1, 38.5)
},
Vehicles = {
{
Spawner = vector3(307.7, -1433.4, 30.0),
InsideShop = vector3(446.7, -1355.6, 43.5),
Marker = {type = 36, x = 1.0, y = 1.0, z = 1.0, r = 100, g = 50, b = 200, a = 100, rotate = true},
SpawnPoints = {
{coords = vector3(297.2, -1429.5, 29.8), heading = 227.6, radius = 4.0},
{coords = vector3(294.0, -1433.1, 29.8), heading = 227.6, radius = 4.0},
{coords = vector3(309.4, -1442.5, 29.8), heading = 227.6, radius = 6.0}
}
}
},
Helicopters = {
{
Spawner = vector3(317.5, -1449.5, 46.5),
InsideShop = vector3(305.6, -1419.7, 41.5),
Marker = {type = 34, x = 1.5, y = 1.5, z = 1.5, r = 100, g = 150, b = 150, a = 100, rotate = true},
SpawnPoints = {
{coords = vector3(313.5, -1465.1, 46.5), heading = 142.7, radius = 10.0},
{coords = vector3(299.5, -1453.2, 46.5), heading = 142.7, radius = 10.0}
}
}
},
FastTravels = {
{
From = vector3(294.7, -1448.1, 29.0),
To = {coords = vector3(272.8, -1358.8, 23.5), heading = 0.0},
Marker = {type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
},
{
From = vector3(275.3, -1361, 23.5),
To = {coords = vector3(295.8, -1446.5, 28.9), heading = 0.0},
Marker = {type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
},
{
From = vector3(247.3, -1371.5, 23.5),
To = {coords = vector3(333.1, -1434.9, 45.5), heading = 138.6},
Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
},
{
From = vector3(335.5, -1432.0, 45.50),
To = {coords = vector3(249.1, -1369.6, 23.5), heading = 0.0},
Marker = {type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
},
{
From = vector3(234.5, -1373.7, 20.9),
To = {coords = vector3(320.9, -1478.6, 28.8), heading = 0.0},
Marker = {type = 1, x = 1.5, y = 1.5, z = 1.0, r = 102, g = 0, b = 102, a = 100, rotate = false}
},
{
From = vector3(317.9, -1476.1, 28.9),
To = {coords = vector3(238.6, -1368.4, 23.5), heading = 0.0},
Marker = {type = 1, x = 1.5, y = 1.5, z = 1.0, r = 102, g = 0, b = 102, a = 100, rotate = false}
}
},
FastTravelsPrompt = {
{
From = vector3(237.4, -1373.8, 26.0),
To = {coords = vector3(251.9, -1363.3, 38.5), heading = 0.0},
Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false},
Prompt = TranslateCap('fast_travel')
},
{
From = vector3(256.5, -1357.7, 36.0),
To = {coords = vector3(235.4, -1372.8, 26.3), heading = 0.0},
Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false},
Prompt = TranslateCap('fast_travel')
}
}
}
}
Config.AuthorizedVehicles = {
car = {
ambulance = {
{model = 'ambulance', price = 5000}
},
doctor = {
{model = 'ambulance', price = 4500}
},
chief_doctor = {
{model = 'ambulance', price = 3000}
},
boss = {
{model = 'ambulance', price = 2000}
}
},
helicopter = {
ambulance = {},
doctor = {
{model = 'buzzard2', price = 150000}
},
chief_doctor = {
{model = 'buzzard2', price = 150000},
{model = 'seasparrow', price = 300000}
},
boss = {
{model = 'buzzard2', price = 10000},
{model = 'seasparrow', price = 250000}
}
}
}