-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.lua
135 lines (114 loc) · 2.83 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
local QBCore = exports['qb-core']:GetCoreObject()
Config = {}
Config.DrawDistance = 100.0
Config.MaxErrors = 5
Config.SpeedMultiplier = 3.6
Config.Licenses = {
thflight = {name = Lang:t("theory_test"), price = 5000},
plane = {name = Lang:t("flight_test_plane"), price = 100},
heli = {name = Lang:t("flight_test_heli"), price = 150},
}
Config.VehicleModels = {
plane = 'dodo',
heli = 'havok'
}
--Config.SpeedLimits = {
-- residence = 50,
-- town = 80,
-- freeway = 120
--}
Config.Zones = {
FlightSchool = {
Pos = vector3(-1155.04, -2715.28, 19.89),
},
VehicleSpawnPoint = {
Pos = vector4(-978.65, -2996.51, 11.95, 61.07),
}
}
Config.CheckPoints = {
{
Pos = {x = -1064.91, y = -2979.39, z = 13.96},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = -1023.24, y = -3061.04, z = 13.94},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = -1011.76, y = -3129.57, z = 13.94},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = -1478.29, y = -2867.07, z = 50.96},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = -1985.79, y = -2583.05, z = 208.94},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = -3807.71, y = 19.63, z = 410.03},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = -3267.47, y = 2473.18, z = 477.76},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = -615.01, y = 2543.81, z = 564.87},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = 284.09, y = 2827.10, z = 238.94},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = 579.14, y = 2912.26, z = 169.19},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t("go_next_point"), 5000)
end
},
{
Pos = {x = 853.16, y = 2995.65, z = 107.86},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t('gratz_stay_alert'), 5000)
end
},
{
Pos = {x = 997.62, y = 3059.63, z = 57.99},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t('go_next_point'), 5000)
end
},
{
Pos = {x = 1281.22, y = 3136.57, z = 40.41},
Action = function(playerPed, vehicle)
DrawMissionText(Lang:t('go_next_point'), 5000)
end
},
{
Pos = {x = 1699.26, y = 3249.33, z = 40.95},
Action = function(playerPed, vehicle)
PlaySound(-1, 'RACE_PLACED', 'HUD_AWARDS', false, 0, true)
QBCore.Functions.DeleteVehicle(vehicle)
end
},
}