Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Checks if an inventory has space for additional items, considering both weight and slot limits.
exports['jaksam_inventory']:canCarryItem(inventoryId, itemName, amount)
-- Check if player can carry 5 bread local canCarry = exports['jaksam_inventory']:canCarryItem(1, 'bread', 5) if canCarry then -- Safe to add items exports['jaksam_inventory']:addItem(1, 'bread', 5) end
inventoryId
itemName
amount
boolean