π― Target System
# π― Target System Integration If your server uses an entirely custom targeting system, you can easily change the export events here.
function InteractWithPedStartMission(Ped)
local options = {
{
name = 'ds:tablet',
label = "Oduncu Paneli",
icon = 'fa-solid fa-tablet-screen-button',
action = function()
OpenLumberjackTablet()
end,
onSelect = function()
OpenLumberjackTablet()
end
},
}
if Config.TargetScript == "ox" then
exports.ox_target:addLocalEntity(Ped, options)
else
exports['qb-target']:AddTargetEntity(Ped, { options = options, distance = 4 })
end
end
function InteractWithPedStopMission(Ped)
InteractWithPedStartMission(Ped)
end
function InteractiveBox(object)
-- Disabled Box interaction, consolidated to Tablet
end