Config
Config = {}
Config.Locale = GetConvar('esx:locale', 'fr')
Config.Target = true
Config.Job = 'realestateagent'
Config.KeyMenu = 'f6'
Config.JobPay = false -- When creating the property, the real estate agent pays a portion
Config.JobPayPercent = 0.75
Config.Reselling = 2 -- Initial price of the house divided by the number you have defined in the Config.Reselling.
Config.JobTax = 'gouv'
Config.Percent = 0.3 -- 0.3%
Config.TimeToPay = {9, 40} -- 20h00
Config.Raid = {
["police"]= 0, -- job name and min grade
["fbi"] = 2
}
Config.Blips = {
['properties'] = {
Sprite = 475,
Display = 4,
Scale = 0.7,
Colour = 3,
AsShortRange = true,
Use = true,
},
['motels'] = {
Sprite = 475,
Display = 4,
Scale = 0.7,
Colour = 5,
AsShortRange = true,
Use = true,
},
}
Config.PropertiesInteriors = {
["Modern 1 Apartment"] = {
IdType = 1,
IPL = vector3(-786.8663, 315.7642, 217.6385)
},
["Modern 2 Apartment"] = {
IdType = 2,
IPL = vector3(-786.9563, 315.6229, 187.9136)
},
["Modern 3 Apartment"] = {
IdType = 3,
IPL = vector3(-774.0126, 342.0428, 196.6864)
},
["Mody 1 Apartment"] = {
IdType = 4,
IPL = vector3(-787.0749, 315.8198, 217.6386)
},
["Mody 2 Apartment"] = {
IdType = 5,
IPL = vector3(-786.8195, 315.5634, 187.9137)
},
["Mody 3 Apartment"] = {
IdType = 6,
IPL = vector3(-774.1382, 342.0316, 196.6864)
},
["Vibrant 1 Apartment"] = {
IdType = 7,
IPL = vector3(-786.6245, 315.6175, 217.6385)
},
["Vibrant 2 Apartment"] = {
IdType = 8,
IPL = vector3(-786.9584, 315.7974, 187.9135)
},
["Vibrant 3 Apartment"] = {
IdType = 9,
IPL = vector3(-774.0223, 342.1718, 196.6863)
},
["Sharp 1 Apartment"] = {
IdType = 10,
IPL = vector3(-787.0902, 315.7039, 217.6384)
},
["Sharp 2 Apartment"] = {
IdType = 11,
IPL = vector3(-787.0155, 315.7071, 187.9135)
},
["Sharp 3 Apartment"] = {
IdType = 12,
IPL = vector3(-773.8976, 342.1525, 196.6863)
},
["Monochrome 1 Apartment"] = {
IdType = 13,
IPL = vector3(-786.9887, 315.7393, 217.6386)
},
["Monochrome 2 Apartment"] = {
IdType = 14,
IPL = vector3(-786.8809, 315.6634, 187.9136)
},
["Monochrome 3 Apartment"] = {
IdType = 15,
IPL = vector3(-774.0675, 342.0773, 196.6864)
},
["Seductive 1 Apartment"] = {
IdType = 16,
IPL = vector3(-787.1423, 315.6943, 217.6384)
},
["Seductive 2 Apartment"] = {
IdType = 17,
IPL = vector3(-787.0961, 315.815, 187.9135)
},
["Seductive 3 Apartment"] = {
IdType = 18,
IPL = vector3(-773.9552, 341.9892, 196.6862)
},
["Regal 1 Apartment"] = {
IdType = 19,
IPL = vector3(-787.029, 315.7113, 217.6385)
},
["Regal 2 Apartment"] = {
IdType = 20,
IPL = vector3(-787.0574, 315.6567, 187.9135)
},
["Regal 3 Apartment"] = {
IdType = 21,
IPL = vector3(-774.0109, 342.0965, 196.6863)
},
["Aqua 1 Apartment"] = {
IdType = 22,
IPL = vector3(-786.9469, 315.5655, 217.6383)
},
["Aqua 2 Apartment"] = {
IdType = 23,
IPL = vector3(-786.9756, 315.723, 187.9134)
},
["Aqua 3 Apartment"] = {
IdType = 24,
IPL = vector3(-774.0349, 342.0296, 196.6862)
},
["Clubhouse 1"] = {
IdType = 25,
IPL = vector3(1107.04, -3157.399, -37.51859)
},
["Clubhouse 2"] = {
IdType = 26,
IPL = vector3(998.4809, -3164.711, -38.90733)
},
["Meth Lab"] = {
IdType = 27,
IPL = vector3(1009.5, -3196.6, -38.99682)
},
["Weed Farm"] = {
IdType = 28,
IPL = vector3(1051.491, -3196.536, -39.14842)
},
["Cocaine Lockup"] = {
IdType = 29,
IPL = vector3(1093.6, -3196.6, -38.99841)
},
["Counterfeit Cash Factory"] = {
IdType = 30,
IPL = vector3(1121.897, -3195.338, -40.4025)
},
["Document Forgery Office"] = {
IdType = 31,
IPL = vector3(1165, -3196.6, -39.01306)
},
["Warehouse Small"] = {
IdType = 32,
IPL = vector3(1094.988, -3101.776, -39.00363)
},
["Warehouse Medium"] = {
IdType = 33,
IPL = vector3(1056.486, -3105.724, -39.00439)
},
["Warehouse Large"] = {
IdType = 34,
IPL = vector3(1006.967, -3102.079, -39.0035)
},
["Vehicle Warehouse"] = {
IdType = 35,
IPL = vector3(994.5925, -3002.594, -39.64699)
},
["Lost MC Clubhouse"] = {
IdType = 36,
IPL = vector3(982.0083, -100.8747, 74.84512)
},
["Low End Apartment"] = {
IdType = 37,
IPL = vector3(261.4586, -998.8196, -99.00863)
},
["Medium End Apartment"] = {
IdType = 38,
IPL = vector3(347.2686, -999.2955, -99.19622)
}
}
Config.Blip = {
Pos = vec3(-697.170959, 271.810791, 83.108162),
Sprite = 357,
Display = 4,
Scale = 0.7,
Colour = 59,
Name = 'Agence immobilière',
ShowBlip = true,
}
Config.KeyToClose = false
Config.itemKey = 'carkey'
Config.VehicleShop = 'fw_vehicle_seller'
Config.Stash = {
label = 'Agence immobilière',
slots = 50,
maxWeight = 100000
}
Config.Zones = {
Computer = {
Filter = 'realestateagent',
Pos = {
vec3(-707.279724, 272.466705, 83.147278),
vec3(-703.015137, 266.266815, 83.147278),
vec3(-706.452148, 264.412262, 83.147278)
},
textUI = {
message = "Accéder à l'ordinateur",
position = "top-center",
icon = 'house',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-house",
onSelect = function()
action('Computer')
end,
job = {realestateagent=0},
grade = 0
},
Cloakroom = {
Filter = 'realestateagent',
Pos = {
vec3(-716.029175, 266.755615, 84.100883)
},
textUI = {
message = "Accéder au vestiaire",
position = "top-center",
icon = 'shirt',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fa-solid fa-shirt',
onSelect = function()
action('Cloakroom')
end,
job = {realestateagent=0},
grade = 0
},
Inventory = {
Filter = 'realestateagent',
Pos = {
vec3(-714.108215, 267.181396, 84.102806)
},
textUI = {
message = "Accéder au coffre",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fa-solid fa-box',
onSelect = function()
action('Inventory')
end,
job = {realestateagent=0},
grade = 0
},
Garage = {
Filter = 'realestateagent',
Pos = {
vec3(-716.236816, 271.236359, 84.701729)
},
textUI = {
message = "Accéder au garage",
position = "top-center",
icon = 'car',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fa-solid fa-car',
onSelect = function()
action('Garage')
end,
job = {realestateagent=0},
grade = 0
},
Boss = {
Filter = 'realestateagent',
Pos = {
vec3(-714.759766, 261.029083, 84.137848)
},
textUI = {
message = "Accéder à la gestion",
position = "top-center",
icon = 'money-bill',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = "fa-solid fa-euro-sign",
onSelect = function()
action('OpenBossMenu')
end,
job = {realestateagent=3},
grade = 3
}
}
Config.Cloakroom = {
{nom = 'Tenue civile', grade = 0, skin = ""},
{nom = 'Tenue de travail',
grade = 3,
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
}
}
}
}
Config.Garage = {
Cars = {
{name = "Ranger véhicule", model = "", grade = 0},
{name = "Asbo", model = "asbo", grade = 1},
{name = "Oracle", model = "oracle", grade = 2}
},
SpawnVeh = vec3(-713.809875, 275.219299, 84.491028),
Heading = 293.650879,
Color = {
r = 0, g= 0, b= 0,
}
}
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
Last updated