Ox Target Export

so i been trying to get some of my scripts to work with ox target instead of 3d text or markers etc, ive added the export and can get the eye to pop up where i want it etc but cant get it to trigger the events. i seen a video where a dude explains it and copy/paste the event name to the export and works fine but none of my scripts have an “event name” like his can anyone help or give some examples on how to use?

Example Export:
exports.ox_target:addBoxZone({
coords = vec3(240.9799, -1379.0468, 33.7417),
size = vec3(2, 2, 2),
rotation = 45,
debug = drawZones,
drawSprite = true,
options = {
{
name = ‘dmvschool’,
event = ‘DMVSchool’,
icon = ‘fa-solid fa-cube’,
label = ‘Køreskole’,
}
}
})

coba pakai ini semoga berhasil
exports[‘qtarget’]:AddBoxZone(“isinama”, vector3(-138.48, -632.93, 168.82), 1, 1, {
name=“isinama”,
heading=,
debugPoly=false,
minZ=,
maxZ=,
}, {
options = {
{
event = “OpenDMVSchoolMenu”,
icon = “fas fa-briefcase”,
label = “open dmv”,
},
},
distance = 1.5
})

AddEventHandler(‘OpenDMVSchoolMenu’,function()
print(“aku Berhasil Membuka”)
OpenDMVSchoolMenu()
end)

yeah thats qtarget tho

have you tried it? i believe qtargtet function works also for ox target

how to make for multiple coords?