A completely rewritten and optimised targeting solution based on bt-target
exports.qtarget:AddBoxZone(name, center, length, width, options, targetoptions)
exports.qtarget:AddBoxZone("MissionRowDutyClipboard", vector3(441.7989, -982.0529, 30.67834), 0.45, 0.35, {
name="MissionRowDutyClipboard",
heading=11.0,
debugPoly=false,
minZ=30.77834,
maxZ=30.87834,
}, {
options = {
{
event = "qrp_duty:goOnDuty",
icon = "fas fa-sign-in-alt",
label = "Sign In",
job = "police",
},
{
event = "qrp_duty:goOffDuty",
icon = "fas fa-sign-out-alt",
label = "Sign Out",
job = "police",
},
},
distance = 3.5
})