["idcard"] = {
label = "Id card",
weight = 1,
stack = false,
close = true,
buttons = {
{
label = "Look",
action = function(slot)
TriggerEvent("ox_inventory:closeInventory")
exports["src-multichar"]:OpenCardFromInventory(slot)
end
},
{
label = "Show",
action = function(slot)
TriggerEvent("ox_inventory:closeInventory")
exports["src-multichar"]:ShowCardFromInventory(slot)
end
}
}
}
idcard = {
name = 'idcard',
label = 'ID Card',
weight = 0,
type = 'item',
image = 'idcard.png',
unique = true,
useable = true,
shouldClose = true,
description = 'ID Card'
}