-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
96 lines (81 loc) · 3.38 KB
/
Copy pathconfig.lua
File metadata and controls
96 lines (81 loc) · 3.38 KB
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
Config = {}
-- Framework : 'esx' | 'qb' | 'qbox'
Config.Framework = 'esx'
-- ESXMode : 'old' | 'new' (ignoré si Framework != 'esx')
Config.ESXMode = 'new'
Config.RentalPed = {
coords = vector4(435.675385, -647.459900, 28.739193, 82.123176574707),
model = 'a_m_m_farmer_01',
blip = { sprite = 225, display = 4, scale = 0.6, colour = 25, name = 'Location de Véhicules' }
}
Config.DeletePed = {
coords = vector4(321.091919, -680.112610, 29.300970, 250.17318725586),
model = 's_m_m_dockwork_01'
}
Config.ReturnPed2 = {
coords = vector4(34.92, 6451.09, 31.43, 227.33),
model = 's_m_m_dockwork_01'
}
Config.ReturnPoints = {
{
coords = vector3(324.244781, -678.620178, 29.310396),
blip = { sprite = 225, display = 4, scale = 0.6, colour = 1, name = 'Location - Retour Véhicule' }
},
{
coords = vector3(32.68, 6446.33, 31.43),
blip = { sprite = 225, display = 4, scale = 0.6, colour = 1, name = 'Location - Retour Véhicule' }
}
}
Config.Vehicles = {
{ model = 'faggio', label = 'Faggio', price = 300, image = 'faggio.webp' },
{ model = 'kalahari', label = 'Kalahari', price = 500, image = 'kalahari.webp' }
}
Config.DeletePrice = 100
Config.GovernmentAccount = 'society_gouv' -- ESX : compte esx_addonaccount
Config.SpawnLocations = {
{ x = 415.864319, y = -643.994751, z = 28.500196, h = 77.459892272949 },
{ x = 416.139099, y = -646.642334, z = 28.500237, h = 84.452331542969 },
{ x = 416.307587, y = -649.450317, z = 28.500280, h = 83.953559875488 },
{ x = 416.145172, y = -652.083008, z = 28.500332, h = 85.464340209961 },
{ x = 416.173553, y = -654.783325, z = 28.500370, h = 88.581626892090 },
}
Config.SpawnRadius = 5.0
Config.PlatePrefix = 'LOC'
Config.PlateMin = 1000
Config.PlateMax = 9999
Config.DiscordWebhook = {
enabled = false,
url = '',
colors = { rented = 3066993, returned = 15105570, deleted = 15158332 },
footer = '22_rental'
}
Config.InteractionDistance = 3.0
Config.DrawDistance = 20.0
Config.Markers = {
enabled = true,
type = 1,
size = { x = 3.0, y = 3.0, z = 1.0 },
color = { r = 255, g = 0, b = 0, a = 100 },
bobUpAndDown = false,
faceCamera = false,
rotate = false
}
Config.Notifications = {
alreadyRented = "Vous avez déjà un véhicule loué. Vous pouvez le supprimer au point indiqué sur votre GPS.",
notEnoughMoney = "Vous n'avez pas assez d'argent.",
noVehicleToDelete = "Vous n'avez pas de véhicule à supprimer.",
vehicleRented = "Vous avez loué un %s pour $%s.",
vehicleReady = "Votre %s est prêt. Plaque: %s",
vehicleReturned = "Vous avez rendu le véhicule.",
vehicleDeleted = "Vous avez payé %s$ pour supprimer le véhicule.",
refundReceived = "Vous avez été remboursé de $%s",
notRentedVehicle = "Ce n'est pas le véhicule loué.",
noVehicleToReturn = "Vous n'avez pas de véhicule loué à rendre.",
vehicleRecovered = "Votre véhicule de location a été récupéré.",
noSpawnAvailable = "Aucun emplacement de spawn disponible."
}
Config.HelpNotifications = {
openRental = "Appuyez sur ~INPUT_CONTEXT~ pour voir les locations",
deleteVehicle = "Appuyez sur ~INPUT_CONTEXT~ pour supprimer le véhicule pour %s$",
returnVehicle = "Appuyez sur ~INPUT_CONTEXT~ pour rendre le véhicule"
}