mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
Complete vehicle job system re write
This commit is contained in:
+61
-22
@@ -32,16 +32,17 @@ Config.PoliceStations = {
|
||||
},
|
||||
|
||||
Cloakrooms = {
|
||||
vector3(452.6, -992.8, 29.7)
|
||||
vector3(452.6, -992.8, 30.6)
|
||||
},
|
||||
|
||||
Armories = {
|
||||
vector3(451.0, -980.7, 29.6)
|
||||
vector3(451.7, -980.1, 30.6)
|
||||
},
|
||||
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = vector3(454.6, -1017.4, 27.4),
|
||||
Spawner = vector3(454.6, -1017.4, 28.4),
|
||||
InsideShop = vector3(228.5, -993.5, -99.5),
|
||||
SpawnPoints = {
|
||||
{ coords = vector3(438.4, -1018.3, 27.7), heading = 90.0, radius = 6.0 },
|
||||
{ coords = vector3(441.0, -1024.2, 28.3), heading = 90.0, radius = 6.0 },
|
||||
@@ -52,6 +53,7 @@ Config.PoliceStations = {
|
||||
|
||||
{
|
||||
Spawner = vector3(473.3, -1018.4, 27.0),
|
||||
InsideShop = vector3(228.5, -993.5, -99.0),
|
||||
SpawnPoints = {
|
||||
{ coords = vector3(475.9, -1021.6, 28.0), heading = 276.1, radius = 6.0 },
|
||||
{ coords = vector3(484.1, -1023.1, 27.5), heading = 302.5, radius = 6.0 }
|
||||
@@ -61,20 +63,16 @@ Config.PoliceStations = {
|
||||
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = vector3(466.4, -982.8, 42.6),
|
||||
SpawnPoint = vector3(450.0, -981.1, 42.6),
|
||||
Heading = 0.0
|
||||
Spawner = vector3(461.1, -981.5, 43.6),
|
||||
InsideShop = vector3(477.0, -1106.4, 43.0),
|
||||
SpawnPoints = {
|
||||
{ coords = vector3(449.5, -981.2, 43.6), heading = 92.6, radius = 10.0 }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
VehicleDeleters = {
|
||||
vector3(462.7, -1014.4, 27.0),
|
||||
vector3(462.4, -1019.7, 27.1),
|
||||
vector3(469.1, -1024.5, 27.2)
|
||||
},
|
||||
|
||||
BossActions = {
|
||||
vector3(448.4, -973.2, 29.6)
|
||||
vector3(448.4, -973.2, 30.6)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -143,17 +141,17 @@ Config.AuthorizedWeapons = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-- https://wiki.rage.mp/index.php?title=Vehicles
|
||||
Config.AuthorizedVehicles = {
|
||||
Shared = {
|
||||
{
|
||||
model = 'police',
|
||||
label = 'Police Cruiser'
|
||||
label = 'Police Cruiser',
|
||||
price = 10000
|
||||
},
|
||||
{
|
||||
model = 'pbus',
|
||||
label = 'Police Prison Bus'
|
||||
label = 'Police Prison Bus',
|
||||
price = 5000
|
||||
}
|
||||
},
|
||||
|
||||
@@ -164,18 +162,21 @@ Config.AuthorizedVehicles = {
|
||||
officer = {
|
||||
{
|
||||
model = 'police3',
|
||||
label = 'Police Interceptor'
|
||||
label = 'Police Interceptor',
|
||||
price = 20000
|
||||
}
|
||||
},
|
||||
|
||||
sergeant = {
|
||||
{
|
||||
model = 'policet',
|
||||
label = 'Police Transporter'
|
||||
label = 'Police Transporter',
|
||||
price = 18500
|
||||
},
|
||||
{
|
||||
model = 'policeb',
|
||||
label = 'Police Bike'
|
||||
label = 'Police Bike',
|
||||
price = 30500
|
||||
}
|
||||
},
|
||||
|
||||
@@ -186,11 +187,13 @@ Config.AuthorizedVehicles = {
|
||||
lieutenant = {
|
||||
{
|
||||
model = 'riot',
|
||||
label = 'Police Riot'
|
||||
label = 'Police Riot',
|
||||
price = 70000
|
||||
},
|
||||
{
|
||||
model = 'fbi2',
|
||||
label = 'FIB SUV'
|
||||
label = 'FIB SUV',
|
||||
price = 60000
|
||||
}
|
||||
},
|
||||
|
||||
@@ -203,6 +206,42 @@ Config.AuthorizedVehicles = {
|
||||
}
|
||||
}
|
||||
|
||||
Config.AuthorizedHelicopters = {
|
||||
recruit = {},
|
||||
|
||||
officer = {},
|
||||
|
||||
sergeant = {},
|
||||
|
||||
intendent = {},
|
||||
|
||||
lieutenant = {
|
||||
{
|
||||
model = 'polmav',
|
||||
label = 'Police Maverick',
|
||||
livery = 0,
|
||||
price = 200000
|
||||
}
|
||||
},
|
||||
|
||||
chef = {
|
||||
{
|
||||
model = 'polmav',
|
||||
label = 'Police Maverick',
|
||||
livery = 0,
|
||||
price = 150000
|
||||
}
|
||||
},
|
||||
|
||||
boss = {
|
||||
{
|
||||
model = 'polmav',
|
||||
label = 'Police Maverick',
|
||||
livery = 0,
|
||||
price = 100000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-- CHECK SKINCHANGER CLIENT MAIN.LUA for matching elements
|
||||
|
||||
|
||||
Reference in New Issue
Block a user