Inventory Items
This section includes the complete item list for the script, ready to be integrated into the most popular inventory systems. Each item is properly configured with its name, label, and parameters to ensure full compatibility and seamless functionality within your server’s inventory setup.
qs-inventory
['cryptostick'] = {
['name'] = 'cryptostick',
['label'] = 'Crypto Stick',
['weight'] = 50,
['type'] = 'item',
['image'] = 'cryptostick.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'A suspicious USB...'
},
['phone_dongle'] = {
['name'] = 'phone_dongle',
['label'] = 'Phone Dongle',
['weight'] = 50,
['type'] = 'item',
['image'] = 'phone_dongle.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Telephone key to make a bypass, maybe...'
},
['powerbank'] = {
['name'] = 'powerbank',
['label'] = 'Power Bank',
['weight'] = 50,
['type'] = 'item',
['image'] = 'powerbank.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = false,
['combinable'] = nil,
['description'] = 'Portable charger for high-end phones'
},
["phone"] = {
["name"] = "phone",
["label"] = "Classic Phone",
["weight"] = 150,
["type"] = "item",
["image"] = "phone.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},
["black_phone"] = {
["name"] = "black_phone",
["label"] = "Black Phone",
["weight"] = 150,
["type"] = "item",
["image"] = "black_phone.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},
["yellow_phone"] = {
["name"] = "yellow_phone",
["label"] = "Yellow Phone",
["weight"] = 150,
["type"] = "item",
["image"] = "yellow_phone.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},
["red_phone"] = {
["name"] = "red_phone",
["label"] = "Red Phone",
["weight"] = 150,
["type"] = "item",
["image"] = "red_phone.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},
["green_phone"] = {
["name"] = "green_phone",
["label"] = "Green Phone",
["weight"] = 150,
["type"] = "item",
["image"] = "green_phone.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},
["white_phone"] = {
["name"] = "white_phone",
["label"] = "White Phone",
["weight"] = 150,
["type"] = "item",
["image"] = "white_phone.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "They say that Quasar Smartphone is the same as an iPhone, what do you think?"
},esx_inventory
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
('cryptostick', 'Crypto Stick', 50),
('phone_dongle', 'Phone Dongle', 50),
('powerbank', 'Power Bank', 50),
('phone', 'Classic Phone', 150),
('black_phone', 'Black Phone', 150),
('yellow_phone', 'Yellow Phone', 150),
('red_phone', 'Red Light Phone', 150),
('green_phone', 'Green Phone', 150),
('white_phone', 'White Phone', 150)
;qb-inventory
["cryptostick"] = { name = "cryptostick", label = "Crypto Stick", weight = 50, type = "item", image = "cryptostick.png", unique = false, useable = true, shouldClose = false, description = "A suspicious USB..." },
["phone_dongle"] = { name = "phone_dongle", label = "Phone Dongle", weight = 50, type = "item", image = "phone_dongle.png", unique = false, useable = true, shouldClose = false, description = "Telephone key to make a bypass, maybe..." },
["powerbank"] = { name = "powerbank", label = "Power Bank", weight = 50, type = "item", image = "powerbank.png", unique = false, useable = true, shouldClose = false, description = "Portable charger for high-end phones" },
["phone"] = { name = "phone", label = "Classic Phone", weight = 150, type = "item", image = "phone.png", unique = true, useable = true, shouldClose = true, description = "They say that Quasar Smartphone is the same as an iPhone, what do you think?" },
["black_phone"] = { name = "black_phone", label = "Black Phone", weight = 150, type = "item", image = "black_phone.png", unique = true, useable = true, shouldClose = true, description = "They say that Quasar Smartphone is the same as an iPhone, what do you think?" },
["yellow_phone"] = { name = "yellow_phone", label = "Yellow Phone", weight = 150, type = "item", image = "yellow_phone.png", unique = true, useable = true, shouldClose = true, description = "They say that Quasar Smartphone is the same as an iPhone, what do you think?" },
["red_phone"] = { name = "red_phone", label = "Red Phone", weight = 150, type = "item", image = "red_phone.png", unique = true, useable = true, shouldClose = true, description = "They say that Quasar Smartphone is the same as an iPhone, what do you think?" },
["green_phone"] = { name = "green_phone", label = "Green Phone", weight = 150, type = "item", image = "green_phone.png", unique = true, useable = true, shouldClose = true, description = "They say that Quasar Smartphone is the same as an iPhone, what do you think?" },
["white_phone"] = { name = "white_phone", label = "White Phone", weight = 150, type = "item", image = "white_phone.png", unique = true, useable = true, shouldClose = true, description = "They say that Quasar Smartphone is the same as an iPhone, what do you think?" },ox_inventory
["cryptostick"] = {
label = "Crypto Stick",
weight = 50,
stack = false,
},
["phone_dongle"] = {
label = "Phone Dongle",
weight = 50,
stack = false,
},
["powerbank"] = {
label = "Power Bank",
weight = 50,
stack = false,
},
['phone'] = {
label = 'Classic Phone',
weight = 150,
stack = false,
consume = 0,
client = {
export = "qs-smartphone-pro.UsePhoneItem",
add = function(total)
TriggerServerEvent('phone:itemAdd')
end,
remove = function(total)
TriggerServerEvent('phone:itemDelete')
end
}
},
['black_phone'] = {
label = 'Black Phone',
weight = 150,
stack = false,
consume = 0,
client = {
export = "qs-smartphone-pro.UsePhoneItem",
add = function(total)
TriggerServerEvent('phone:itemAdd')
end,
remove = function(total)
TriggerServerEvent('phone:itemDelete')
end
}
},
['yellow_phone'] = {
label = 'Yellow Phone',
weight = 150,
stack = false,
consume = 0,
client = {
export = "qs-smartphone-pro.UsePhoneItem",
add = function(total)
TriggerServerEvent('phone:itemAdd')
end,
remove = function(total)
TriggerServerEvent('phone:itemDelete')
end
}
},
['red_phone'] = {
label = 'Red Phone',
weight = 150,
stack = false,
consume = 0,
client = {
export = "qs-smartphone-pro.UsePhoneItem",
add = function(total)
TriggerServerEvent('phone:itemAdd')
end,
remove = function(total)
TriggerServerEvent('phone:itemDelete')
end
}
},
['green_phone'] = {
label = 'Green Phone',
weight = 150,
stack = false,
consume = 0,
client = {
export = "qs-smartphone-pro.UsePhoneItem",
add = function(total)
TriggerServerEvent('phone:itemAdd')
end,
remove = function(total)
TriggerServerEvent('phone:itemDelete')
end
}
},
['white_phone'] = {
label = 'White Phone',
weight = 150,
stack = false,
consume = 0,
client = {
export = "qs-smartphone-pro.UsePhoneItem",
add = function(total)
TriggerServerEvent('phone:itemAdd')
end,
remove = function(total)
TriggerServerEvent('phone:itemDelete')
end
}
},core_inventory
["uniqueItem"] = {
color = "#87ceeb",
takeSound = 'take',
putSound = 'put',
},INSERT INTO `items` (`name`, `label`, `weight`, `category`) VALUES
('cryptostick', 'Crypto Stick', 50, 'uniqueItem'),
('phone_dongle', 'Phone Dongle', 50, 'uniqueItem'),
('powerbank', 'Power Bank', 50, 'uniqueItem'),
('phone', 'Classic Phone', 150, 'uniqueItem'),
('black_phone', 'Black Phone', 150, 'uniqueItem'),
('yellow_phone', 'Yellow Phone', 150, 'uniqueItem'),
('red_phone', 'Red Light Phone', 150, 'uniqueItem'),
('green_phone', 'Green Phone', 150, 'uniqueItem'),
('white_phone', 'White Phone', 150, 'uniqueItem')
;