Open phone
IMPORTANT! Inventory must supports metadata. I recommend ox_inventory.
For resource ox_inventory
Add the following code in the file ox_inventory/data/items.lua
['mobilephone'] = {
label = 'Smartphone',
weight = 500,
stack = false,
close = true,
client = {
export = 'sfphone.mobilephone', -- if you use ox_inventory_examples 'yourscript.mobilephone'
},
consume = 0
},
['simcard'] = {
label = 'Sim card',
weight = 100,
stack = false,
client = {
export = 'sfphone.simcard', -- if you use ox_inventory_examples or 'yourscript.simcard'
},
consume = 0
},
Add the following images to the folder ox_inventory/web/images


Last updated