Full View config.lua

Preview File Updated: v1.0.2 - 08.06.2023
1
Config = {}
2
3
Config.Core = "ESX" -- "ESX" / "QB-Core"
4
Config.CoreExport = function()
5
return exports['es_extended']:getSharedObject() -- ESX
6
-- return exports['qb-core']:GetCoreObject() -- QB-CORE
7
end
8
9
Config.Notification = function(message, time, type)
10
if type == "error" then
11
exports['vms_notify']:Notification('SPAWN SELECTOR', message, time, '#f52a2a', 'fa-solid fa-map-pin')
12
-- ESX.ShowNotification(message)
13
-- QBCore.Functions.Notify(message, 'error', time)
14
end
15
end
16
17
Config.Translate = {
18
['cannot_spawn_on_dead'] = "Your previous game ended in death, you must be reborn in the last location."
19
}
20
21
Config.Hud = {
22
Enable = function()
23
-- exports['hud']:DisplayHud(true)
24
end,
25
Disable = function()
26
-- exports['hud']:DisplayHud(false)
27
end
28
}
29
30
Config.WeatherSync = "vSync" -- "cd_easytime", "qb-weathersync", "vSync"
31
Config.Weather = 'CLEAR' -- weather type
32
Config.Time = {hour = 20, minutes = 0}
33
34
Config.OnDeadOnlyLastPosition = true -- When the player is dead, should he be able to be reborn only in the previous location or can he be reborn in any location
35
36
Config.Spawns = {
37
[1] = {
38
camCoords = vector3(1151.57, -627.64, 65.27),
39
spawnCoords = vector4(1127.14, -645.29, 55.79, 281.89),
40
label = "Mirror Park",
41
address = "Mirror Park Blvd",
42
},
43
[2] = {
44
camCoords = vector3(-1011.8, -2714.38, 23.61),
45
spawnCoords = vector4(-1037.8, -2737.82, 19.17, 325.98),
46
label = "Airport",
47
address = "New Empire Way",
48
},
49
[3] = {
50
camCoords = vector3(-1249.22, -1469.2, 10.6),
51
spawnCoords = vector4(-1265.34, -1481.28, 3.33, 286.73),
52
label = "Beach",
53
address = "Aguja St.",
54
},
55
[4] = {
56
camCoords = vector3(1113.8, 2680.31, 46.42),
57
spawnCoords = vector4(1138.84, 2672.44, 37.13, 89.32),
58
label = "Sandy Shores",
59
address = "Route 68",
60
},
61
[5] = {
62
camCoords = vector3(176.68, 6555.92, 43.24),
63
spawnCoords = vector4(159.59, 6587.62, 31.12, 187.2),
64
label = "Paleto Bay",
65
address = "Great Ocean Hwy",
66
},
67
}
Last modified 1mo ago