Configuration
Contenu de config.lua
_Config = {
framework = 'newESX', -- newESX, ESX
ActivateGiveKeys = true, -- Activer give des clées mise en cache, la touche U pour ouvrir et fermé le véhicule
PositionNotificationOX = 'top-right', -- Position de la notification // si vous utilisé pas OX cette variable sert à rien pour vous
DeleteVehiculeDistance = 50, -- Choisir la distance pour que le véhicule se supprime
LocationTime = {1, 15, 30, 60, 120, 240}, -- Temps de location en minutes
QuasarKeys = false, -- Utiliser le système de clés de Quasar
ZONES = {
{
type = 'car',
label = 'voiture',
blipLabel = 'Location voiture',
blipConfig = { sprite = 225, color = 3, scale = 0.8 },
actionALT = vec3(159.605, 6607.544, 30.882),
previewCoords = vec4(2731.223, 1362.241, 24.523, 266.502),
spawnVeh = vec4(145.862, 6612.096, 31.824, 4.707),
ped = "mp_m_freemode_01", x = 159.605, y = 6607.544, z = 30.882, h = 88.3,
pedLabel = "Location voiture",
vehicles = {
{model = 't20', label = 'T20', price = 75000},
{model = 'adder', label = 'Adder', price = 44600},
{model = 'baller7', label = 'Baller 7', price = 28900},
{model = 'panto', label = 'Panto', price = 7400},
}
},
{
type = 'bike',
label = 'moto',
blipLabel = 'Location moto',
blipConfig = { sprite = 226, color = 48, scale = 0.8 },
actionALT = vec3(-1177.248, -1780.505, 2.908),
previewCoords = vec4(-1165.593, -1744.434, 4.015, 208.03),
spawnVeh = vec4(-1165.593, -1744.434, 4.015, 208.03),
ped = "mp_m_freemode_01", x = -1177.248, y = -1780.505, z = 2.908, h = 302.8,
pedLabel = "Location Moto",
vehicles = {
{model = 'enduro', label = 'Enduro', price = 75000},
{model = 'sanchez', label = 'Sanchez', price = 44600},
{model = 'lectro', label = 'Lectro', price = 28900},
}
},
{
type = 'plane',
label = 'avions',
blipLabel = 'Location avions',
blipConfig = { sprite = 251, color = 26, scale = 0.8 },
actionALT = vec3(-962.51, -2766.425, 13.3),
previewCoords = vec4(-1043.592, -2947.303, 13.964, 149.769),
spawnVeh = vec4(-1065.716, -2975.475, 13.964, 150.277),
ped = "mp_m_freemode_01", x = -962.51, y = -2766.425, z = 12.944, h = 239.2,
pedLabel = "Location avions",
vehicles = {
{model = 'luxor2', label = 'Luxor 2', price = 7000000},
{model = 'luxor', label = 'Luxor', price = 49000000},
}
},
{
type = 'helicopter',
label = 'Hélicoptères',
blipLabel = 'Location hélicoptères',
blipConfig = { sprite = 43, color = 24, scale = 0.8 },
actionALT = vec3(-1849.822, -3103.747, 12.944),
previewCoords = vec4(-1875.425, -3139.967, 13.944, 330.507),
spawnVeh = vec4(-1875.425, -3139.967, 13.944, 330.507),
ped = "mp_m_freemode_01", x = -1849.822, y = -3103.747, z = 12.944, h = 62.8,
pedLabel = "Location hélicoptères",
vehicles = {
{model = 'valkyrie', label = 'Valkyrie', price = 17000000},
{model = 'swift2', label = 'Swift2', price = 17000000},
}
},
{
type = 'boat',
label = 'Bateaux',
blipLabel = 'Location bateaux',
blipConfig = { sprite = 427, color = 11, scale = 0.8 },
actionALT = vec3(-719.26, -1326.996, 0.596),
previewCoords = vec4(-725.375, -1355.829, -1.475, 140.497),
spawnVeh = vec4(-725.371, -1355.52, 0.105, 359.095),
ped = "mp_m_freemode_01", x = -719.26, y = -1326.996, z = 0.596, h = 48.7,
pedLabel = "Location bateaux",
vehicles = {
{model = 'dinghy2', label = 'Dinghy2', price = 7000000},
{model = 'dinghy', label = 'Dinghy', price = 7000000},
{model = 'seashark2', label = 'Seashark2', price = 7000000},
{model = 'speeder', label = 'Speeder', price = 7000000},
{model = 'submersible', label = 'Submersible', price = 7000000},
{model = 'tropic', label = 'Tropic', price = 7000000},
{model = 'predator', label = 'Predator', price = 7000000},
{model = 'jetmax', label = 'Jetmax', price = 7000000},
{model = 'marquis', label = 'Marquis', price = 7000000},
{model = 'squalo', label = 'Squalo', price = 7000000},
}
},
-- ... autres zones ...
},
}
Dernière mise à jour