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.
Prüft, ob ein Inventar Platz für zusätzliche Items hat, unter Berücksichtigung von Gewichts- und Slot-Limits.
exports['jaksam_inventory']:canCarryItem(inventoryId, itemName, amount)
-- Prüfen, ob der Spieler 5 Brot tragen kann local canCarry = exports['jaksam_inventory']:canCarryItem(1, 'bread', 5) if canCarry then -- Sicher, Items hinzuzufügen exports['jaksam_inventory']:addItem(1, 'bread', 5) end
inventoryId
itemName
amount
boolean