config.lua
Full View
Config = {}
Config.Framework = 'esx' -- framework ('esx' or 'qbcore')
Config.NotificationSystem = 'ox_lib' -- Options: 'ox_lib', 'tnotify', 'okoknotify', 'print', 'framework'. Determines the notification system to use.
Config.InteractionType = "ox_target" -- Options: "ox_target" or "qb-target"
Config.Locale = "en" -- Localization option: choose between 'hu', 'en', 'de', 'fr'.
Config.Webhook = "" -- Discord Webhook
Config.Debug = false -- Enable debug mode for additional output during development.
---------------- JOB ----------------
-- Location where the worker outfit can be equipped
Config.InspectorJob = nil -- If nil, anyone can see/start the job; if set to "inspector", only players with that job can see/start it
Config.JobStart = vector3(-361.2376, -238.6215, 36.0801)
Config.EnableBlip = true
Config.JobBlip = "Inspector Job"
Config.JobVehicle = "dilettante"
-- Location for requesting a vehicle (visible only when on duty)
Config.VehicleRequestLocation = vector3(-354.7414, -231.8712, 37.2884)
-- Vehicle spawn position
Config.VehicleSpawn = vector4(-359.5412, -229.1189, 37.2690, 53.3819)
-- Finish Job / Vehicle Return position
Config.VehicleReturnLocation = vector3(-355.8887, -224.2953, 37.2880)
-- Work Clothes
Config.WorkClothes = {
male = {
['tshirt_1'] = 28, ['tshirt_2'] = 0,
['torso_1'] = 23, ['torso_2'] = 0,
['arms'] = 1,
['pants_1'] = 22, ['pants_2'] = 0,
['shoes_1'] = 15, ['shoes_2'] = 0,
['helmet_1'] = 0, ['helmet_2'] = 0,
['hat_1'] = -1, ['hat_2'] = 0
},
female = {
['tshirt_1'] = 0, ['tshirt_2'] = 7,
['torso_1'] = 7, ['torso_2'] = 2,
['arms'] = 6,
['pants_1'] = 50, ['pants_2'] = 4,
['shoes_1'] = 6, ['shoes_2'] = 0,
['helmet_1'] = 0, ['helmet_2'] = 0,
['hat_1'] = -1, ['hat_2'] = 0
}
}
-- Routes checkpoints
Config.RoutesPoints = {
first = {
[1] = { pos = vector4(-1605.6027, -1072.2046, 13.0185, 53.7977), model = `a_m_y_hippy_01` },
[2] = { pos = vector4(-1638.1278, -1083.4967, 13.0751, 253.7149), model = `s_m_m_linecook` },
[3] = { pos = vector4(-1686.9216, -1104.0836, 13.5852, 142.3634), model = `a_f_y_eastsa_03` },
[4] = { pos = vector4(-1532.6420, -903.6304, 10.3167, 143.4219), model = `a_m_y_hippy_01` },
[5] = { pos = vector4(-1515.9573, -952.0873, 9.2864, 324.7964), model = `s_m_m_linecook` },
reward = 180 -- Full payment upon completing all checkpoints
},
second = {
[1] = { pos = vector4(-1132.5713, -1659.8561, 4.4066, 316.2610), model = `a_f_y_hipster_02` },
[2] = { pos = vector4(-1220.4928, -1504.2714, 4.3641, 87.2268), model = `s_m_m_linecook` },
[3] = { pos = vector4(-1268.4954, -1433.0500, 4.3540, 142.3213), model = `s_m_m_linecook` },
[4] = { pos = vector4(-1334.9576, -1277.1736, 4.9635, 99.6534), model = `a_m_y_hippy_01` },
[5] = { pos = vector4(-1481.5217, -941.9111, 10.3332, 144.0602), model = `a_m_m_skater_01` },
reward = 150 -- Full payment upon completing all checkpoints
},
}
Config.VendorAttackChance = 15 -- 15% chance for NPC to attack player after animation
Config.ProgressTimer = 5 -- inspection in progress (5 = 5 sec)
Config.GiftRewardChance = 45 -- 45% chance of gift item rewards (in addition to cash rewards)
-- Gift Items
Config.GiftRewardItems = {
{name = "ecola", label = "eCola Drink", min = 1, max = 2},
{name = "sprunk", label = "Sprunk Drink", min = 1, max = 2}
}
---------------- NOTIFICATIONS ----------------
-- Notifications settings
Config.Notifications = {
ox_lib = function(msg, msgType)
lib.notify({
position = 'top',
type = msgType,
description = msg,
duration = 5000
})
end,
tnotify = function(msg, msgType)
exports['t-notify']:Alert({
style = msgType,
message = msg,
duration = 5000
})
end,
okoknotify = function(msg, msgType)
exports['okokNotify']:Alert('Notification', msg, 3000, msgType)
end,
print = function(msg, _)
print(msg)
end,
framework = function(msg, msgType)
if Config.Framework == "qb-core" then
QBCore.Functions.Notify(msg, msgType)
elseif Config.Framework == "esx" then
ESX.ShowNotification(msg)
end
end
}Last updated