4
$$ | $$ | $$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\
5
\$$\ $$ |$$ __$$\ $$ __$$\ $$ _____|$$ __$$\
6
\$$\$$ / $$$$$$$$ |$$ | \__|\$$$$$$\ $$$$$$$$ |
7
\$$$ / $$ ____|$$ | \____$$\ $$ ____|
8
\$ / \$$$$$$$\ $$ | $$$$$$$ |\$$$$$$$\
9
\_/ \_______|\__| \_______/ \_______|
10
store.VerseScripts.net
12
-- Need help? https://discord.gg/rbahmK8kR7
16
Config.DebugPoly = false
19
Config.Framework = "qb" -- "qb" or "esx"
20
Config.Notify = "ox" -- qb | okok | es.lib | brutal | b-dev | ox
21
Config.Locale = "en" -- See locales.lua for more information
22
Config.Dispatch = "qb" -- qb, ps, cd or any custom, just set it in client/custom/dispatch.lua
25
Config.Target = "qb-target" -- Needs to match resource name, "qb-target" or "qtarget" (set to qtarget for ox_target) Custom options can be set in target.lua
28
Config.JobTargetIcon = "fa-solid fa-pen" -- https://fontawesome.com/search?o=r&m=free
29
Config.JobTargetLabel = "Start a Valet job"
31
-- Take car keys from ped
32
Config.KeysTargetIcon = "fa-solid fa-key"
33
Config.KeysTargetLabel = "Take keys"
36
Config.MaxTimeToGoToLocation = 20 -- Max time in seconds for the NPC to go to any location before they are teleported (doesn't apply to vehicles)
37
Config.MaxTimeToGoToLocationVehicle = 60 -- Max time in seconds for the NPC to go to any location before they are teleported (only applies to vehicle related movement)
38
Config.NewCustomerTimer = 10 -- Time in seconds before a RANDOMIZER is ran for a new customer to spawn
39
Config.NewCustomerTimeout = 20 -- Time in seconds after a new customer is spawned when a new customer spawns
40
--Config.MinReturnTime = 300 -- Minimum Time in seconds for the NPC to come pick up their car
41
--Config.MaxReturnTime = 600 -- Maximum Time in seconds for the NPC to come pick up their car
42
Config.MinReturnTime = 60
43
Config.MaxReturnTime = 120
44
Config.ReturnTimeout = 20 -- Time in seconds before the returned car is deleted if the NPC doesn't get in
45
Config.MaxTimeToSpawnVehicle = 20 -- Max time in seconds for the NPC vehicle to spawn
47
-- Clothes configuration, by default made on a vanilla server representing the vanilla valet NPC
48
-- Component numbers: https://docs.fivem.net/natives/?_0x262B14F48D29DE80
49
-- Prop numbers: https://docs.fivem.net/natives/?_0x93376B65A266EB5F
50
Config.DontRemoveComponents = { 0, 2 } -- Here you can put component numbers which you don't want to be removed when you change clothes (such as face and hair)
53
[3] --[[component number]] = {
102
-- Vehicle import settings
103
-- FOR ESX, YOU NEED TO UNCOMMENT THE @mysql-async/lib/MySQL.lua LINE IN THE fxmanifest.lua FILE TO HAVE THIS ENABLED!
104
Config.ImportCarsFromFramework = true -- If you want to use ALL the cars from your framework (database for ESX, vehicles.lua for QB)
105
Config.ImportCategoryBlacklist = { -- Vehicle categories that won't be imported
115
Config.CategoriesWorkAsWhitelist = false -- The above categories will work as a whitelist instead of a blacklist (only cars with the above categories will be imported)
117
-- Don't use this when Config.ImportCarsFromFramework is enabled, make sure it is empty then!
118
Config.Cars = { -- If you have the above option set to false, you can add the car models you want to use as the AI to this table instead
119
-- "adder", -- Example
123
Config.PedModel = "S_M_Y_Valet_01" -- Ped where player starts the mission
124
Config.PedCoords = vector4(-1229.92, -176.4, 38.33, 236.4)
125
Config.PedScenario = "WORLD_HUMAN_CLIPBOARD" -- Scenario the ped spawns with (https://github.com/DioneB/gtav-scenarios)
128
Config.ShowBlip = true -- Show blip on map
129
Config.Blip = 530 -- https://docs.fivem.net/docs/game-references/blips/
130
Config.BlipColor = 0 -- https://docs.fivem.net/docs/game-references/blips/#blip-colors
131
Config.BlipLocation = vector2(-1237.28, -189.37)
132
Config.BlipText = "Valet Job"
135
Config.CarSpawn = vector4(-1322.25, -154.13, 46.73, 253.55)-- important to be vector4 (with heading)
136
Config.CarTarget = vector4(-1227.66, -189.84, 39.19, 9.99) -- important to be vector4 (with heading)
137
Config.PedGiveKeysFallbackLoc = vector3(-1220.69, -184.91, 39.17) -- Fallback location for the ped to go if you are too far away from the ped to take his keys
138
Config.PedParkCarFallbackLoc = vector4(-1235.37, -248.41, 39.33, 27.89) -- Fallback location for the ped to go if they don't get to the parking spot in time (specified with Config.MaxTimeToGoToLocationVehicle)
139
Config.ReturnLocSpawn = vector4(-1230.17, -145.98, 40.41, 139.01) -- Location where the ped spawns when they come to pick up their car
140
Config.ReturnLocPed = vector3(-1226.94, -175.86, 39.33) -- Location where the ped goes to when they come to pick up their car
141
Config.ReturnLoc = vector4(-1230.18, -183.62, 39.2, 46.72) -- Location where player has to drop the car off at
143
Config.ParkingSpots = {
144
-- We only mapped the parking spots where are no car generators (NPC cars won't spawn there)
145
-- that is because we haven't found a way to consistently disable the car generators without causing problems
146
vector4(-1305.85, -193.73, 46.63, 34.37),
147
vector4(-1302.60, -191.45, 46.63, 34.35),
148
vector4(-1308.95, -196.30, 46.63, 34.86),
149
vector4(-1312.14, -197.97, 46.63, 34.86),
150
vector4(-1315.46, -200.55, 46.63, 34.86),
152
vector4(-1274.43, -205.64, 46.63, 304.27),
153
vector4(-1272.00, -209.07, 46.63, 305.55),
154
vector4(-1270.06, -212.43, 46.63, 304.29),
156
vector4(-1260.72, -244.88, 46.63, 215.62),
157
vector4(-1254.11, -240.55, 46.63, 215.62),
158
vector4(-1264.02, -246.81, 46.63, 214.08),
159
vector4(-1267.19, -249.42, 46.63, 215.19),
160
vector4(-1270.47, -251.27, 46.63, 214.70),
162
vector4(-1295.78, -235.09, 46.63, 124.76),
163
vector4(-1300.18, -228.51, 46.63, 124.76),
164
vector4(-1302.38, -225.09, 46.63, 124.35),
166
vector4(-1254.39, -240.09, 51.14, 213.40),
167
vector4(-1257.65, -242.48, 51.14, 214.45),
168
vector4(-1260.74, -244.59, 51.14, 214.46),
169
vector4(-1263.91, -247.06, 51.14, 215.02),
170
vector4(-1267.27, -249.21, 51.14, 215.03),
171
vector4(-1270.25, -251.47, 51.14, 214.79),
173
vector4(-1295.87, -235.17, 51.14, 125.23),
174
vector4(-1297.87, -231.78, 51.14, 125.25),
175
vector4(-1300.25, -228.50, 51.14, 124.37),
176
vector4(-1302.39, -225.24, 51.14, 124.46),
177
vector4(-1304.66, -222.03, 51.14, 126.13),
178
vector4(-1306.97, -218.69, 51.14, 125.59),
180
vector4(-1305.87, -193.57, 51.14, 35.22),
181
vector4(-1302.48, -191.70, 51.14, 34.25),
182
vector4(-1299.48, -189.36, 51.14, 34.19),
184
vector4(-1278.80, -199.31, 51.14, 305.48),
185
vector4(-1276.72, -202.49, 51.14, 304.70),
186
vector4(-1274.49, -205.77, 51.14, 304.85),
187
vector4(-1272.31, -209.08, 51.14, 304.53),
188
vector4(-1270.05, -212.49, 51.14, 304.46),
189
vector4(-1267.67, -215.57, 51.14, 304.51),
190
vector4(-1265.25, -218.72, 51.14, 303.62),
192
vector4(-1308.85, -196.03, 55.69, 34.00),
193
vector4(-1305.81, -193.88, 55.69, 34.99),
194
vector4(-1299.39, -189.64, 55.69, 34.86),
196
vector4(-1278.80, -199.31, 55.69, 304.26),
197
vector4(-1276.75, -202.56, 55.69, 304.20),
198
vector4(-1272.18, -209.09, 55.69, 303.51),
199
vector4(-1265.34, -218.82, 55.69, 304.47),
200
vector4(-1263.31, -221.97, 55.69, 304.54),
202
vector4(-1254.52, -239.97, 55.69, 214.69),
203
vector4(-1257.64, -242.42, 55.69, 215.18),
204
vector4(-1260.90, -244.54, 55.69, 214.89),
205
vector4(-1267.25, -249.18, 55.69, 214.90),
206
vector4(-1270.26, -251.56, 55.69, 215.29),
208
vector4(-1293.35, -238.24, 55.69, 126.32),
209
vector4(-1295.60, -234.91, 55.69, 124.52),
210
vector4(-1298.00, -231.74, 55.69, 124.57),
211
vector4(-1300.25, -228.49, 55.69, 124.92),
212
vector4(-1302.30, -225.23, 55.69, 124.93),
213
vector4(-1304.73, -222.09, 55.69, 125.20),
214
vector4(-1307.07, -218.90, 55.69, 124.78),
216
vector4(-1306.74, -218.59, 60.24, 124.79),
217
vector4(-1304.72, -222.07, 60.24, 125.04),
218
vector4(-1300.21, -228.58, 60.24, 125.05),
219
vector4(-1297.80, -231.79, 60.24, 125.08),
220
vector4(-1295.83, -234.87, 60.24, 125.09),
221
vector4(-1293.19, -238.09, 60.24, 124.75),
223
vector4(-1267.27, -248.88, 60.24, 213.95),
224
vector4(-1264.09, -246.70, 60.24, 214.50),
225
vector4(-1260.94, -244.79, 60.24, 215.04),
226
vector4(-1257.66, -242.46, 60.24, 214.86),
227
vector4(-1254.61, -239.96, 60.24, 214.80),
229
vector4(-1263.38, -222.20, 60.24, 304.12),
230
vector4(-1265.75, -218.91, 60.24, 304.41),
231
vector4(-1268.07, -215.65, 60.24, 304.38),
232
vector4(-1270.04, -212.42, 60.24, 304.79),
233
vector4(-1272.47, -209.31, 60.24, 304.44),
234
vector4(-1274.69, -205.91, 60.24, 303.98),
235
vector4(-1277.06, -202.78, 60.24, 304.60),
238
Config.PossibleNPCmodels = {
249
Config.MinPayout = 100
250
Config.MaxPayout = 600
251
Config.PaymentMethod = "cash" -- bank, cash (money for ESX) or society (needs qb-management or esx_society)
252
Config.SocietyAccount = "society_valet" -- the job the money will be sent to if PaymentMethod is set to society