Config
Config.Locale = GetConvar('esx:locale', 'fr')
Config.KeyToClose = false
Config.DrawDistance = 3.0 -- How close do you need to be for the markers to be drawn (in GTA units).
Config.Distance = 1.5
Config.MoveMoney = true -- Possibility to withdraw/deposit money in players bank
Config.allowedJob = {
['gouv'] = true,
['gouv_m'] = true
}
Config.Filter = {
['gouv'] = true,
['gouv_m'] = true
}
Config.Target = false
Config.PositionMenu = 'top-right' --'top-left' / 'top-right' / 'bottom-left' / 'bottom-right'
Config.VehicleShop = 'fw_vehicle_seller' -- Use your vehicleshop name folder
Config.MaxDistance = 5
Config.Distance = 2
Config.Blip = {
Gouv = {
Pos = {
vector3(-543.615723, -207.143433, 37.659298),
},
Blip = {Sprite = 419,
Display = 4,
Scale = 0.7,
Colour = 0,
Name = 'Gouvernement'
}
},
GouvM = {
Pos = {
vector3(1706.98, 3777.11, 34.63),
},
Blip = {Sprite = 419,
Display = 4,
Scale = 0.7,
Colour = 0,
Name = 'Gouvernement Mexicain'
}
},
}
Config.itemKey = 'carkey'
Config.Stash = {
slots = 50,
maxWeight = 100000
}
Config.Notify = function(key, source, ...)
local service = IsDuplicityVersion()
local description, data
if ... then
description = (Config.Notifications[key].description):format(...)
data = {
id = Config.Notifications[key].id,
title = Config.Notifications[key].title,
description = description,
position = Config.Notifications[key].position,
style = Config.Notifications[key].style,
icon = Config.Notifications[key].icon,
type = Config.Notifications[key].type,
iconColor = Config.Notifications[key].iconColor
}
end
lib.notify(service and source or (data or Config.Notifications[key]), service and (data or Config.Notifications[key]))
end
Config.Garage = {
gouv = {
Cars = {
{name = "Ranger véhicule", model = "", grade = 0},
{name = "Cognoscenti", model = "cognoscenti2", grade = 1},
{name = "Schafter", model = "schafter5", grade = 2},
{name = "Baller", model = "baller6", grade = 3}
},
SpawnVeh = vector3(-582.930542, -131.593674, 34.404690),
Heading = 202.818375,
Color = {
r = 0, g= 0, b= 0,
}
},
gouv_m = {
Cars = {
{name = "Ranger véhicule", model = "", grade = 0},
{name = "Cognoscenti", model = "cognoscenti2", grade = 1},
{name = "Schafter", model = "schafter5", grade = 2},
{name = "Baller", model = "baller6", grade = 3}
},
SpawnVeh = vector3(1703.90, 3764.72, 33.94),
Heading = 317.48,
Color = {
r = 255, g= 255, b= 255,
}
}
}
Config.Zones = {
GarageGouv = {
Pos = vector3(-584.678223, -127.450394, 33.779083),
textUI = {
message = "Ouvrir garage",
position = "top-center",
icon = 'car',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-car",
job = 'gouv',
job_grade = 0,
onSelect = function()
action('OpenGarage')
end
},
GarageGouvM = {
Pos = vector3(1702.64, 3763.13, 34.31),
textUI = {
message = "Ouvrir garage",
position = "top-center",
icon = 'car',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-car",
job = 'gouv_m',
job_grade = 0,
onSelect = function()
action('OpenGarage')
end
},
CloakroomGouv = {
Pos = vector3(-541.333496, -192.770737, 47.423092),
textUI = {
message = "Accéder au vestiaire",
position = "top-center",
icon = 'shirt',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-shirt",
job = 'gouv',
job_grade = 0,
onSelect = function()
action('openCloakroom')
end
},
CloakroomGouvM = {
Pos = vector3(1709.60, 3784.81, 34.75),
textUI = {
message = "Accéder au vestiaire",
position = "top-center",
icon = 'shirt',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-shirt",
job = 'gouv_m',
job_grade = 0,
onSelect = function()
action('openCloakroom')
end
},
ManagementGouv = {
Pos = vector3(-551.478694, -190.515884, 38.303337),
textUI = {
message = "Accéder à la gestion",
position = "top-center",
icon = 'computer',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-computer",
job = 'gouv',
job_grade = 4,
onSelect = function()
action('ManagementGouv')
end
},
ManagementGouvM = {
Pos = vector3(1699.46, 3785.01, 34.75),
textUI = {
message = "Accéder à la gestion",
position = "top-center",
icon = 'computer',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-computer",
job = 'gouv_m',
job_grade = 4,
onSelect = function()
action('ManagementGouv')
end
},
BossGouv = {
Pos = vector3(-546.057922, -201.853180, 47.349602),
textUI = {
message = "Accéder à la gestion",
position = "top-center",
icon = 'money-bill',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-people-roof",
job = 'gouv',
job_grade = 5,
onSelect = function()
action('openBossGouv')
end
},
BossGouvM = {
Pos = vector3(1704.63, 3788.92, 34.75),
textUI = {
message = "Accéder à la gestion",
position = "top-center",
icon = 'money-bill',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-people-roof",
job = 'gouv_m',
job_grade = 5,
onSelect = function()
action('openBossGouv')
end
},
InventoryGouv = {
Pos = vector3(-534.415344, -192.176956, 47.423035),
textUI = {
message = "Accéder au coffre",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-box",
job = 'gouv',
job_grade = 0,
onSelect = function()
action('openInventory')
end
},
InventoryGouvM = {
Pos = vector3(1708.07, 3787.13, 34.75),
textUI = {
message = "Accéder au coffre",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-box",
job = 'gouv_m',
job_grade = 0,
onSelect = function()
action('openInventory')
end
}
}
Config.Cloakroom = {
["gouv"] = {
{nom = "Tenue civile", grade = "", skin = "", icon = 'user'},
{nom = "Tenue de travail",
grade = 0,
skin = {
[0] = { -- male
['tshirt_1'] = 31, ['tshirt_2'] = 0,
['torso_1'] = 32, ['torso_2'] = 0,
['arms'] = 27,
['pants_1'] = 24, ['pants_2'] = 0,
['shoes_1'] = 10, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
},
[1] = { -- female
['tshirt_1'] = 38,['tshirt_2'] = 0,
['torso_1'] = 57, ['torso_2'] = 0,
['arms'] = 21,
['pants_1'] = 11, ['pants_2'] = 1,
['shoes_1'] = 49, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
}
},
icon = 'user-tie'
}
},
["gouv_m"] = {
{nom = "Tenue civile", grade = "", skin = "", icon = 'user'},
{nom = "Tenue de travail",
grade = 0,
skin = {
[0] = { -- male
['tshirt_1'] = 31, ['tshirt_2'] = 0,
['torso_1'] = 32, ['torso_2'] = 0,
['arms'] = 27,
['pants_1'] = 24, ['pants_2'] = 0,
['shoes_1'] = 10, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
},
[1] = { -- female
['tshirt_1'] = 38,['tshirt_2'] = 0,
['torso_1'] = 57, ['torso_2'] = 0,
['arms'] = 21,
['pants_1'] = 11, ['pants_2'] = 1,
['shoes_1'] = 49, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
}
},
icon = 'user-tie'
}
}
}
Last updated