โ๏ธInstallation
2
Add Inventory Items
phone = { name = 'phone', label = 'Phone', weight = 700, type = 'item', image = 'phone.png', unique = true, useable = true, shouldClose = false, description = 'Phone' },
simcard = { name = 'simcard', label = 'SIM Card', weight = 1, type = 'item', image = 'simcard.png', unique = true, useable = true, shouldClose = false, description = 'Use to install in your phone' },
broken_phone = { name = 'broken_phone', label = 'broken_phone', weight = 700, type = 'item', image = 'broken_phone.png', unique = true, useable = false, shouldClose = false, description = 'Broken Phone' }, INSERT IGNORE INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('phone', 'Phone', 1, 0, 1),
('simcard', 'Sim card', 1, 0, 1),
('broken_phone', 'Broken Phone', 1, 0, 1),
;Item('phone', function(data, slot) local success, result = pcall(function() return exports.npwd:isPhoneVisible() end) if success then exports.npwd:setPhoneVisible(not result) end end)
['phone'] = {
label = 'Phone',
weight = 150,
client = {
image = 'phone.png',
},
server = {
export = '17mov_Phone.phone'
},
consume = 0,
stack = false
},
['simcard'] = {
label = 'Sim Card',
weight = 150,
client = {
image = 'simcard.png',
},
server = {
export = '17mov_Phone.simcard'
},
consume = 0,
stack = false
},
['broken_phone'] = {
label = 'Broken Phone',
weight = 150,
client = {
image = 'broken_phone.png',
},
consume = 0,
stack = false
},
Last updated