Config
Config.Locale = GetConvar('esx:locale', 'fr')
Config.KeyToClose = false
Config.DistanceBox = 5.0
Config.DrawDistance = 3.0
Config.Distance = 1.5
Config.Target = false
Config.itemKey = 'carkey'
Config.VehicleShop = 'fw_vehicle_seller' -- Use your vehicleshop name folder
Config.RepairTime = 20000
Config.RepairPrice = 1500
Config.allowedJob = {
['bennys'] = true,
['mechanic'] = true
}
Config.Notify = function(key, source, ...)
local service = IsDuplicityVersion()
if ... then
Config.Notifications[key].description = (Config.Notifications[key].description):format(...)
end
lib.notify(service and source or Config.Notifications[key], service and Config.Notifications[key])
end
Config.Stash = {
['bennys'] = {
slots = 50,
maxWeight = 100000
},
['mechanic'] = {
slots = 50,
maxWeight = 100000
}
}
Config.MenuProps = {
Type = 'menu', -- use context or menu
Title = 'Menu Props',
PositionMenu = 'top-right', --'top-left' / 'top-right' / 'bottom-left' / 'bottom-right'
Props = {label = 'Props', icon = 'chair'},
Delete = {label = 'Supprésions', icon = 'trash'},
Target = {
Icon = 'fa-solid fa-trash',
Text = 'Supprimer'
},
Active = {
['bennys'] = true,
['mechanic'] = true
}
}
Config.Props = {
['bennys'] = {
{nameprops = 'Cône #1', modelprops = 'prop_mp_cone_01', image = 'https://gta-objects.xyz/gallery/objects/prop_mp_cone_01.jpg'},
{nameprops = 'Cône #2', modelprops = 'prop_mp_cone_04', image = 'https://gta-objects.xyz/gallery/objects/prop_mp_cone_04.jpg'},
{nameprops = 'Barrière', modelprops = 'prop_mp_barrier_02', image = 'https://gta-objects.xyz/gallery/objects/prop_mp_barrier_02.jpg'}
},
['mechanic'] = {
{nameprops = 'Cône #1', modelprops = 'prop_mp_cone_01', image = 'https://gta-objects.xyz/gallery/objects/prop_mp_cone_01.jpg'},
{nameprops = 'Cône #2', modelprops = 'prop_mp_cone_04', image = 'https://gta-objects.xyz/gallery/objects/prop_mp_cone_04.jpg'},
{nameprops = 'Barrière', modelprops = 'prop_mp_barrier_02', image = 'https://gta-objects.xyz/gallery/objects/prop_mp_barrier_02.jpg'}
}
}
Config.Craft = {
['bennys'] = {
{
title = 'Chiffon',
ItemR = 'cloth',
Item = {{'money', 5}},
Notification = 'Vous avez acheter un chiffon',
description = 'Achete un chiffon',
liste = {
Informations = 'Argent: 5$',
},
image = 'cloth.png'
},
{
title = 'Pneu',
ItemR = 'tire',
Item = {{'money', 5}},
Notification = 'Vous avez acheter un pneu',
description = 'Achete un pneu',
liste = {
Informations = 'Argent: 15$',
},
image = 'tire.png'
},
{
title = 'Chalumeau',
ItemR = 'blowpipe',
Item = {{'money', 20}},
Notification = 'Vous avez acheté un chalumeau',
description = 'Achete un chalumeau',
liste = {
Informations = 'Argent: 20$',
},
image = 'blowpipe.png'
},
{
title = 'Kit réparation',
ItemR = 'fixtool',
Item = {{'money', 25}},
Notification = 'Vous avez acheté un kit réparation',
description = 'Achete un kit réparation',
liste = {
Informations = 'Argent: 25$',
},
image = 'fixtool.png'
},
},
['mechanic'] = {
{
title = 'Chiffon',
ItemR = 'cloth',
Item = {{'money', 5}},
Notification = 'Vous avez acheter un chiffon',
description = 'Achete un chiffon',
liste = {
Informations = 'Argent: 5$',
},
image = 'cloth.png'
},
{
title = 'Pneu',
ItemR = 'tire',
Item = {{'money', 5}},
Notification = 'Vous avez acheter un pneu',
description = 'Achete un pneu',
liste = {
Informations = 'Argent: 15$',
},
image = 'tire.png'
},
{
title = 'Chalumeau',
ItemR = 'blowpipe',
Item = {{'money', 20}},
Notification = 'Vous avez acheté un chalumeau',
description = 'Achete un chalumeau',
liste = {
Informations = 'Argent: 20$',
},
image = 'blowpipe.png'
},
{
title = 'Kit réparation',
ItemR = 'fixtool',
Item = {{'money', 25}},
Notification = 'Vous avez acheté un kit réparation',
description = 'Achete un kit réparation',
liste = {
Informations = 'Argent: 25$',
},
image = 'fixtool.png'
},
}
}
Config.keyboard = {
text = 'Ouvrir le menu Props',
shortcut = 'F6',
key_spawn_toolbox = 'G',
key_delete_toolbox = 'X',
text_in_options_spawn_toolbox = 'Pour spawn une caisse à outils',
text_in_options_delete_toolbox = 'Pour delete la caisse à outils'
}
Config.Toolbox = {
slots = 10,
maxWeight = 10000,
props = -1972842851,
title = 'Caisse à outils',
message = "Ouvrir la caisse",
icon = "fas fa-toolbox",
job_grade = {mechanic=0, bennys=0}
}
Config.Blip = {
Mechanic = {
Pos = {
vector3(-205.669327, -1308.639038, 31.292177),
},
Blip = {Sprite = 446,
Display = 4,
Scale = 0.7,
Colour = 5,
Name = 'Mechanic'
}
},
Bennys = {
Pos = {
vector3(-1144.175415, -1989.544434, 13.162536),
},
Blip = {Sprite = 446,
Display = 4,
Scale = 0.7,
Colour = 5,
Name = 'Benny\'s'
}
},
}
Config.Menu = {
{label = 'Nettoyer', icon = "fa-solid fa-spray-can-sparkles", item = 'cloth', job_grade = {mechanic=0, bennys=0}},
{label = 'Réparer', icon = "fa-solid fa-screwdriver-wrench", item = 'fixtool', job_grade = {mechanic=0, bennys=0}},
{label = 'Changer pneu', icon = "fa-solid fa-car", item = 'tire', job_grade = {mechanic=0, bennys=0}},
{label = 'Crocheter', icon = "fa-solid fa-key", item = 'blowpipe', job_grade = {mechanic=0, bennys=0}},
{label = 'Mettre/retirer du plateau', icon = "fa-solid fa-truck", item = 0, job_grade = {mechanic=0, bennys=0}},
{label = 'Mettre en fourrière', icon = "fa-solid fa-car-burst", item = 0, job_grade = {mechanic=0, bennys=0}},
}
Config.usePeds = true
Config.Peds = {
BossMechanic = {
Pos = vector3(-206.539764, -1341.617920, 34.894356),
Heading = 123.45,
Ped = 'a_m_y_indian_01',
Type = 'PED_TYPE_CIVMALE'
}
}
Config.Garage = {
mechanic = {
Cars = {
{name = "Ranger véhicule", model = "", grade = 0},
{name = "Flatbed", model = "flatbed", grade = 1},
{name = "SlamVan", model = "slamvan3", grade = 2}
},
SpawnVeh = vector3(-186.016846, -1290.818359, 30.741194),
Heading = 178.150635,
Color = {
r = 0, g= 0, b= 0,
}
},
bennys = {
Cars = {
{name = "Ranger véhicule", model = "", grade = 0},
{name = "Flatbed", model = "flatbed", grade = 1},
{name = "SlamVan", model = "slamvan3", grade = 3}
},
SpawnVeh = vector3(-1161.021606, -2016.396240, 13.180262),
Heading = 329.576569,
Color = {
r = 255, g= 0, b= 0,
}
}
}
Config.Zones = {
GarageMechanic = {
Pos = vector3(-193.561249, -1290.507568, 31.295988),
textUI = {
message = "Ouvrir garage",
position = "top-center",
icon = 'car',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-sharp fa-solid fa-car",
job = 'mechanic',
job_grade = 0,
onSelect = function()
action('openMechanicGarage')
end
},
GarageBennys = {
Pos = vector3(-1163.658813, -2021.640259, 13.180268),
textUI = {
message = "Ouvrir garage",
position = "top-center",
icon = 'car',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-sharp fa-solid fa-car",
job = 'bennys',
job_grade = 0,
onSelect = function()
action('openMechanicGarage')
end
},
CloakroomMechanic = {
Pos = vector3(-224.309921, -1319.969482, 30.890379),
textUI = {
message = "Accéder au vestiaire",
position = "top-center",
icon = 'shirt',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fas fa-box-circle-check',
job = 'mechanic',
job_grade = 0,
onSelect = function()
action('openCloakroom')
end
},
CloakroomBennys = {
Pos = vector3(-1144.557617, -2004.303833, 13.180260),
textUI = {
message = "Accéder au vestiaire",
position = "top-center",
icon = 'shirt',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fas fa-box-circle-check',
job = 'bennys',
job_grade = 0,
onSelect = function()
action('openCloakroom')
end
},
InventoryMechanic = {
Pos = vector3(-216.392380, -1319.017456, 30.890406),
textUI = {
message = "Accéder au coffre",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fas fa-box-circle-check",
job = 'mechanic',
job_grade = 0,
onSelect = function()
action('openInventory')
end
},
InventoryBennys = {
Pos = vector3(-1141.523804, -2005.035889, 13.180268),
textUI = {
message = "Accéder au coffre",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fas fa-box-circle-check",
job = 'bennys',
job_grade = 0,
onSelect = function()
action('openInventory')
end
},
CraftMechanic = {
Pos = vector3(-197.292511, -1320.446655, 31.089338),
textUI = {
message = "Accéder au magasin",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fas fa-box-circle-check",
job = 'mechanic',
job_grade = 0,
onSelect = function()
action('openCraft')
end
},
CraftBennys = {
Pos = vector3(-1158.692017, -2025.716431, 13.149280),
textUI = {
message = "Accéder au magasin",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fas fa-box-circle-check",
job = 'bennys',
job_grade = 0,
onSelect = function()
action('openCraft')
end
},
BossMechanic = {
Pos = vector3(-206.539764, -1341.617920, 34.894356),
textUI = {
message = "Accéder à la gestion",
position = "top-center",
icon = 'money-bill',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fas fa-box-circle-check",
job = 'mechanic',
job_grade = 4,
onSelect = function()
action('openMechanicBoss')
end,
},
BossBennys = {
Pos = vector3(-1149.341431, -1998.583618, 13.378363),
textUI = {
message = "Accéder à la gestion",
position = "top-center",
icon = 'money-bill',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fas fa-box-circle-check",
job = 'bennys',
job_grade = 4,
onSelect = function()
action('openMechanicBoss')
end,
}
}
Config.Cloakroom = {
['mechanic'] = {
{nom = 'Tenue civile', grade = "", skin = ""},
{nom = 'Tenue de travail',
grade = 0,
skin = {
[0] = { -- male
['bags_1'] = 0, ['bags_2'] = 0,
['tshirt_1'] = 15, ['tshirt_2'] = 2,
['torso_1'] = 65, ['torso_2'] = 2,
['arms'] = 31,
['pants_1'] = 38, ['pants_2'] = 2,
['shoes_1'] = 12, ['shoes_2'] = 6,
['mask_1'] = 0, ['mask_2'] = 0,
['bproof_1'] = 0,
['chain_1'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0
},
[1] = { -- female
['bags_1'] = 0, ['bags_2'] = 0,
['tshirt_1'] = 15,['tshirt_2'] = 2,
['torso_1'] = 65, ['torso_2'] = 2,
['arms'] = 36, ['arms_2'] = 0,
['pants_1'] = 38, ['pants_2'] = 2,
['shoes_1'] = 12, ['shoes_2'] = 6,
['mask_1'] = 0, ['mask_2'] = 0,
['bproof_1'] = 0,
['chain_1'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0
}
}
}
},
['bennys'] = {
{nom = 'Tenue civile', grade = "", skin = ""},
{nom = 'Tenue de travail',
grade = 0,
skin = {
[0] = { -- male
['bags_1'] = 0, ['bags_2'] = 0,
['tshirt_1'] = 15, ['tshirt_2'] = 3,
['torso_1'] = 65, ['torso_2'] = 3,
['arms'] = 31,
['pants_1'] = 38, ['pants_2'] = 3,
['shoes_1'] = 12, ['shoes_2'] = 6,
['mask_1'] = 0, ['mask_2'] = 0,
['bproof_1'] = 0,
['chain_1'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0
},
[1] = { -- female
['bags_1'] = 0, ['bags_2'] = 0,
['tshirt_1'] = 15,['tshirt_2'] = 2,
['torso_1'] = 65, ['torso_2'] = 2,
['arms'] = 36, ['arms_2'] = 0,
['pants_1'] = 38, ['pants_2'] = 2,
['shoes_1'] = 12, ['shoes_2'] = 6,
['mask_1'] = 0, ['mask_2'] = 0,
['bproof_1'] = 0,
['chain_1'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0
}
}
}
},
}
Config.Repair = {
vec3(537.442810, -176.434265, 54.483463),
--vector3(537.371216, -176.653030, 54.070545),
}
Config.OptionsRepair = {
Marker = {
Inside = {type = 25, x = 0.7, y = 0.7, z = 0.7, r = 255, g = 255, b = 255, a = 250},
Outside = {type = 25, x = 0.7, y = 0.7, z = 0.7, r = 255, g = 255, b = 255, a = 50}
},
textUI = {
message = "Réparer votre véhicule",
position = "top-center",
icon = 'car',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
}
Last updated