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.NPCJobEarnings = {min = 300, max = 600}
Config.MinimumDistance = 3000 -- Minimum NPC job destination distance from the pickup in GTA units, a higher number prevents nearby destionations.
Config.MaxInService = -1 -- How much people can be in service at once?
Config.jobName = 'taxi'
Config.jobLabel = 'Taxi'
Config.Keyboard = "f5" -- Use taxi meter
Config.Multiplier = 15 -- if you set under 15, the price goes up faster
Config.stop = false --if you want stop taxi meter if stopped car
Config.Target = false
Config.itemKey = 'carkey'
Config.Stash = {
slots = 50,
weight = 100000
}
Config.OpenInventory = function(job)
-- If you se ox_inventory ‡
exports.ox_inventory:openInventory('stash', 'society_'..job)
-- If you use quasar_inventory ‡
--local other = {}
--other.maxweight = 10000 -- Custom weight statsh.
--other.slots = 50 -- Custom slots spaces.
--TriggerServerEvent("inventory:server:OpenInventory", "stash", "Stash_"..job, other)
--TriggerEvent("inventory:client:SetCurrentStash", "Stash_"..job)
end
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.Blip = {
Pos = vector3(913.816406, -179.585922, 74.172386),
Sprite = 198,
Display = 4,
Scale = 0.7,
Colour = 5,
Name = 'Taxi',
ShowBlip = true
}
Config.Garage = {
taxi = {
Cars = {
{name = "Ranger vΓ©hicule", model = "", grade = 0},
{name = "Taxi", model = "taxi", grade = 0}
},
SpawnVeh = vector3(913.775391, -159.813446, 74.384254),
Heading = 193.047043,
Color = {
r = 255, g= 255, b= 0,
},
Plate = 'TAXI'
}
}
Config.Zones = {
Garage = {
Pos = vector3(907.349121, -161.586929, 73.127846),
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 = "Ouvrir garage",
position = "top-center",
icon = 'car',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fa-sharp fa-solid fa-car',
job_grade = 0,
onSelect = function()
action('openGarage')
end
},
Boss = {
Pos = vector3(895.498291, -179.553802, 74.750249),
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 = "AccΓ©der Γ la gestion",
position = "top-center",
icon = 'money-bill',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fas fa-box-circle-check',
job_grade = 4,
onSelect = function()
action('openTaxiBoss')
end,
},
Cloakroom = {
Pos = vector3(902.911499, -191.414825, 72.791489),
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 = "AccΓ©der au vestiaire",
position = "top-center",
icon = 'shirt',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fas fa-box-circle-check',
job_grade = 0,
onSelect = function()
action('openCloakroom')
end,
},
Inventory = {
Pos = vector3(891.320496, -181.552658, 73.750249),
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 = "AccΓ©der au coffre",
position = "top-center",
icon = 'box',
borderRadius = 0,
backgroundColor = '#000000',
color = 'white'
},
icon = 'fas fa-box-circle-check',
job_grade = 0,
onSelect = function()
action('openInventory')
end,
}
}
Config.Cloakroom = {
{nom = 'Tenue civile', grade = "", skin = ""},
{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,
}
}
}
}
Config.JobLocations = {
vector3(293.5, -590.2, 42.7),
vector3(253.4, -375.9, 44.1),
vector3(120.8, -300.4, 45.1),
vector3(-38.4, -381.6, 38.3),
vector3(-107.4, -614.4, 35.7),
vector3(-252.3, -856.5, 30.6),
vector3(-236.1, -988.4, 28.8),
vector3(-277.0, -1061.2, 25.7),
vector3(-576.5, -999.0, 21.8),
vector3(-602.8, -952.6, 21.6),
vector3(-790.7, -961.9, 14.9),
vector3(-912.6, -864.8, 15.0),
vector3(-1069.8, -792.5, 18.8),
vector3(-1306.9, -854.1, 15.1),
vector3(-1468.5, -681.4, 26.2),
vector3(-1380.9, -452.7, 34.1),
vector3(-1326.3, -394.8, 36.1),
vector3(-1383.7, -270.0, 42.5),
vector3(-1679.6, -457.3, 39.4),
vector3(-1812.5, -416.9, 43.7),
vector3(-2043.6, -268.3, 23.0),
vector3(-2186.4, -421.6, 12.7),
vector3(-1862.1, -586.5, 11.2),
vector3(-1859.5, -617.6, 10.9),
vector3(-1635.0, -988.3, 12.6),
vector3(-1284.0, -1154.2, 5.3),
vector3(-1126.5, -1338.1, 4.6),
vector3(-867.9, -1159.7, 5.0),
vector3(-847.5, -1141.4, 6.3),
vector3(-722.6, -1144.6, 10.2),
vector3(-575.5, -318.4, 34.5),
vector3(-592.3, -224.9, 36.1),
vector3(-559.6, -162.9, 37.8),
vector3(-535.0, -65.7, 40.6),
vector3(-758.2, -36.7, 37.3),
vector3(-1375.9, 21.0, 53.2),
vector3(-1320.3, -128.0, 48.1),
vector3(-1285.7, 294.3, 64.5),
vector3(-1245.7, 386.5, 75.1),
vector3(-760.4, 285.0, 85.1),
vector3(-626.8, 254.1, 81.1),
vector3(-563.6, 268.0, 82.5),
vector3(-486.8, 272.0, 82.8),
vector3(88.3, 250.9, 108.2),
vector3(234.1, 344.7, 105.0),
vector3(435.0, 96.7, 99.2),
vector3(482.6, -142.5, 58.2),
vector3(762.7, -786.5, 25.9),
vector3(809.1, -1290.8, 25.8),
vector3(490.8, -1751.4, 28.1),
vector3(432.4, -1856.1, 27.0),
vector3(164.3, -1734.5, 28.9),
vector3(-57.7, -1501.4, 31.1),
vector3(52.2, -1566.7, 29.0),
vector3(310.2, -1376.8, 31.4),
vector3(182.0, -1332.8, 28.9),
vector3(-74.6, -1100.6, 25.7),
vector3(-887.0, -2187.5, 8.1),
vector3(-749.6, -2296.6, 12.5),
vector3(-1064.8, -2560.7, 19.7),
vector3(-1033.4, -2730.2, 19.7),
vector3(-1018.7, -2732.0, 13.3),
vector3(797.4, -174.4, 72.7),
vector3(508.2, -117.9, 60.8),
vector3(159.5, -27.6, 67.4),
vector3(-36.4, -106.9, 57.0),
vector3(-355.8, -270.4, 33.0),
vector3(-831.2, -76.9, 37.3),
vector3(-1038.7, -214.6, 37.0),
vector3(1918.4, 3691.4, 32.3),
vector3(1820.2, 3697.1, 33.5),
vector3(1619.3, 3827.2, 34.5),
vector3(1418.6, 3602.2, 34.5),
vector3(1944.9, 3856.3, 31.7),
vector3(2285.3, 3839.4, 34.0),
vector3(2760.9, 3387.8, 55.7),
vector3(1952.8, 2627.7, 45.4),
vector3(1051.4, 474.8, 93.7),
vector3(866.4, 17.6, 78.7),
vector3(319.0, 167.4, 103.3),
vector3(88.8, 254.1, 108.2),
vector3(-44.9, 70.4, 72.4),
vector3(-115.5, 84.3, 70.8),
vector3(-384.8, 226.9, 83.5),
vector3(-578.7, 139.1, 61.3),
vector3(-651.3, -584.9, 34.1),
vector3(-571.8, -1195.6, 17.9),
vector3(-1513.3, -670.0, 28.4),
vector3(-1297.5, -654.9, 26.1),
vector3(-1645.5, 144.6, 61.7),
vector3(-1160.6, 744.4, 154.6),
vector3(-798.1, 831.7, 204.4)
}
Last updated