Convert of qb-printer You need to change notify to your liking
ESX_LEGACY OX_INVENTORY qtarget
local printers = {
`prop_printer_01`,
`prop_printer_02`,
`v_res_printer`
}
AddTargetModel(printers, {
options = {
{
event = "useprinter",
icon = "fas fa-circle",
label = "Use Printer",
},
},
distance = 2.5
})```
Item
```['printerdocument'] = {
label = 'Printed Document',
weight = 10,
stack = false,
close = true,
consume = 0
},
Item('printerdocument', function(data, slot)
TriggerEvent('qb-printer:client:UseDocument', slot.metadata.url)
TriggerEvent('ox_inventory:closeInventory')
end)