exports['ox_target']:addBoxZone({
coords = vec3(442.5363, -1017.666, 28.85637),
size = vec3(3, 3, 3),
options = {
{
name = 'collectCards',
groups = 'comic',
icon = 'fa-solid fa-hand-holding',
label = 'Collect Graded Cards',
canInteract = function()
return exports["t3_tradingcards"]:gradedCardsToCollect()
end,
onSelect = function()
exports['t3_tradingcards']:collectGradedCards()
end
},
{
name = 'gradingMenu',
groups = 'comic',
icon = 'fa-solid fa-star-half-stroke',
label = 'Open Grading Menu',
canInteract = function()
return not exports["t3_tradingcards"]:gradedCardsToCollect()
end,
onSelect = function()
exports['t3_tradingcards']:gradingMenu()
end
}
}
})