Open tablet
I recommend ox_inventory.
For resource ox_inventory
Add the following code in the file ox_inventory/data/items.lua
['tablet'] = {
	label = 'tablet',
	weight = 500,
	stack = false,
	client = {
		export = 'ox_inventory_examples.tablet', -- if you use ox_inventory_examples 'yourscript.tablet'
	},
	consume = 0
},
Add the following code in the file ox_inventory_examples/client.lua or yourscript/client.lua
exports('tablet', function(data, slot)
	exports.ox_inventory:useItem(data, function(data)
		if data then
			TriggerEvent("sfctab:tabletopen")
		end
	end)
end)Add the following images to the folder ox_inventory/web/images 

Last updated
