mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Refactored vehicle list to config (closes #37), fixed restarting script, code improvements
- A lot of minor changes here aswell, for example proper aligment, the menu wont close if you don't have a medkit when attempting to revive players - Moved to four space (tab) indents - Proper i18n formatting
This commit is contained in:
+102
-92
@@ -26,7 +26,7 @@ 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 RespawnToHospitalMenuTimer at the same time !
|
||||
-- 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
|
||||
@@ -35,123 +35,133 @@ Config.RespawnFineAmount = 500
|
||||
Config.Locale = 'fr'
|
||||
|
||||
Config.Blip = {
|
||||
Pos = { x = 307.76, y = -1433.47, z = 28.97 },
|
||||
Sprite = 61,
|
||||
Display = 4,
|
||||
Scale = 1.2,
|
||||
Colour = 2,
|
||||
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
|
||||
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 = { -- ok
|
||||
Pos = { x = 294.6, y = -1448.01, z = 28.9 },
|
||||
Type = 1
|
||||
},
|
||||
HospitalInteriorEntering1 = { -- Main entrance
|
||||
Pos = { x = 294.2, y = -1448.60, z = 29.0 },
|
||||
Type = 1
|
||||
},
|
||||
|
||||
HospitalInteriorInside1 = { -- ok
|
||||
Pos = { x = 272.8, y = -1358.8, z = 23.5 },
|
||||
Type = -1
|
||||
},
|
||||
HospitalInteriorInside1 = {
|
||||
Pos = { x = 272.8, y = -1358.8, z = 23.5 },
|
||||
Type = -1
|
||||
},
|
||||
|
||||
HospitalInteriorOutside1 = { -- ok
|
||||
Pos = { x = 295.8, y = -1446.5, z = 28.9 },
|
||||
Type = -1
|
||||
},
|
||||
HospitalInteriorOutside1 = {
|
||||
Pos = { x = 295.8, y = -1446.5, z = 28.9 },
|
||||
Type = -1
|
||||
},
|
||||
|
||||
HospitalInteriorExit1 = { -- ok
|
||||
Pos = { x = 275.7, y = -1361.5, z = 23.5 },
|
||||
Type = 1
|
||||
},
|
||||
HospitalInteriorExit1 = {
|
||||
Pos = { x = 275.7, y = -1361.5, z = 23.5 },
|
||||
Type = 1
|
||||
},
|
||||
|
||||
HospitalInteriorEntering2 = { -- Ascenseur aller au toit
|
||||
Pos = { x = 247.1, y = -1371.4, z = 23.5 },
|
||||
Type = 1
|
||||
},
|
||||
HospitalInteriorEntering2 = { -- Lift go to the roof
|
||||
Pos = { x = 247.1, y = -1371.4, z = 23.5 },
|
||||
Type = 1
|
||||
},
|
||||
|
||||
HospitalInteriorInside2 = { -- Toit sortie
|
||||
Pos = { x = 333.1, y = -1434.9, z = 45.5 },
|
||||
Type = -1
|
||||
},
|
||||
HospitalInteriorInside2 = { -- Roof outlet
|
||||
Pos = { x = 333.1, y = -1434.9, z = 45.5 },
|
||||
Type = -1
|
||||
},
|
||||
|
||||
HospitalInteriorOutside2 = { -- Ascenseur retour depuis toit
|
||||
Pos = { x = 249.1, y = -1369.6, z = 23.5 },
|
||||
Type = -1
|
||||
},
|
||||
HospitalInteriorOutside2 = { -- Lift back from roof
|
||||
Pos = { x = 249.1, y = -1369.6, z = 23.5 },
|
||||
Type = -1
|
||||
},
|
||||
|
||||
HospitalInteriorExit2 = { -- Toit entrée
|
||||
Pos = { x = 335.5, y = -1432.0, z = 45.5 },
|
||||
Type = 1
|
||||
},
|
||||
HospitalInteriorExit2 = { -- Roof entrance
|
||||
Pos = { x = 335.5, y = -1432.0, z = 45.5 },
|
||||
Type = 1
|
||||
},
|
||||
|
||||
AmbulanceActions = { -- CLOACKROOM
|
||||
Pos = { x = 268.4, y = -1363.330, z = 23.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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
},
|
||||
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
|
||||
}
|
||||
StairsGoBottomBottom = {
|
||||
Pos = { x = 235.45, y = -1372.89, z = 26.30 },
|
||||
Type = -1
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user