diff --git a/docs/ox_inventory/Functions/Server/Hooks.md b/docs/ox_inventory/Functions/Server/Hooks.md index 5cd8fcdf..0ae842a5 100644 --- a/docs/ox_inventory/Functions/Server/Hooks.md +++ b/docs/ox_inventory/Functions/Server/Hooks.md @@ -33,8 +33,8 @@ By returning `false`, you can cancel the action and revert the inventory state. - source: `number` - action: `'move'` or `'stack'` or `'swap'` or `'give'` -- fromInventory: `number` or `string` -- toInventory: `number` or `string` +- fromInventory: `table` or `string` or `number` +- toInventory: `table` or `string` or `number` - fromType: `string` - toType: `string` - fromSlot: `table` diff --git a/docs/ox_inventory/Functions/Server/Inventory/CanCarryAmount.md b/docs/ox_inventory/Functions/Server/Inventory/CanCarryAmount.md index 58faaac0..85413b5a 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/CanCarryAmount.md +++ b/docs/ox_inventory/Functions/Server/Inventory/CanCarryAmount.md @@ -4,7 +4,7 @@ Returns the amount a player can hold based on available weight. exports.ox_inventory:CanCarryAmount(inv, item) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * item: `table` or `string` * Can be array to check multiple items. diff --git a/docs/ox_inventory/Functions/Server/Inventory/CanCarryItem.md b/docs/ox_inventory/Functions/Server/Inventory/CanCarryItem.md index 53d47e53..c6122c06 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/CanCarryItem.md +++ b/docs/ox_inventory/Functions/Server/Inventory/CanCarryItem.md @@ -6,7 +6,7 @@ The function checks for inventory weight and available slots. exports.ox_inventory:CanCarryItem(inv, item, count, metadata) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * item `table` or `string` * Can be array of items. * count: `number` diff --git a/docs/ox_inventory/Functions/Server/Inventory/CanCarryWeight.md b/docs/ox_inventory/Functions/Server/Inventory/CanCarryWeight.md index ad8c9b9a..1762b63f 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/CanCarryWeight.md +++ b/docs/ox_inventory/Functions/Server/Inventory/CanCarryWeight.md @@ -4,7 +4,7 @@ Returns if inventory can carry specified weight and free inventory weight. exports.ox_inventory:CanCarryWeight(inv, weight) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * weight: `number` Example: diff --git a/docs/ox_inventory/Functions/Server/Inventory/CanSwapItem.md b/docs/ox_inventory/Functions/Server/Inventory/CanSwapItem.md index 2c05c06a..deb20111 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/CanSwapItem.md +++ b/docs/ox_inventory/Functions/Server/Inventory/CanSwapItem.md @@ -4,7 +4,7 @@ Returns true if the item swap is possible based on inventory weight. exports.ox_inventory:CanSwapItem(inv, firstItem, firstItemCount, testItem, testItemCount) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * firstItem: `string` * firstItemCount: `number` * testItem: `string` diff --git a/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md b/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md index ff113165..e541ff94 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md +++ b/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md @@ -4,5 +4,5 @@ Clears the specified inventory. The `keep` argument is either a string or an arr exports.ox_inventory:ClearInventory(inv, keep) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * keep?: `string` or `string[]` diff --git a/docs/ox_inventory/Functions/Server/Inventory/GetCurrentWeapon.md b/docs/ox_inventory/Functions/Server/Inventory/GetCurrentWeapon.md index 663ef759..94c0a815 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/GetCurrentWeapon.md +++ b/docs/ox_inventory/Functions/Server/Inventory/GetCurrentWeapon.md @@ -5,4 +5,4 @@ Returns the player's currently equipped weapon as a table. exports.ox_inventory:GetCurrentWeapon(inv) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` diff --git a/docs/ox_inventory/Functions/Server/Inventory/GetItem.md b/docs/ox_inventory/Functions/Server/Inventory/GetItem.md index 6b0d0e76..fa6e9439 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/GetItem.md +++ b/docs/ox_inventory/Functions/Server/Inventory/GetItem.md @@ -4,7 +4,7 @@ Returns the item from the specified inventory. exports.ox_inventory:GetItem(inv, item, metadata, returnsCount) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * item: `table` or `string` * Can be items array. * metadata?: `any` diff --git a/docs/ox_inventory/Functions/Server/Inventory/GetItemSlots.md b/docs/ox_inventory/Functions/Server/Inventory/GetItemSlots.md index 7c3da1a9..fa65bae0 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/GetItemSlots.md +++ b/docs/ox_inventory/Functions/Server/Inventory/GetItemSlots.md @@ -4,6 +4,6 @@ Returns the number of slots the specified item is in, the item's total count and exports.ox_inventory:GetItemSlots(inv, item, metadata) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * item: `table` or `string` * metadata?: `table` diff --git a/docs/ox_inventory/Functions/Server/Inventory/GetSlot.md b/docs/ox_inventory/Functions/Server/Inventory/GetSlot.md index 41488298..37336962 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/GetSlot.md +++ b/docs/ox_inventory/Functions/Server/Inventory/GetSlot.md @@ -5,7 +5,7 @@ Returns the specified slot data as a table. exports.ox_inventory:GetSlot(inv, slot) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * slot: `number` **Example:** diff --git a/docs/ox_inventory/Functions/Server/Inventory/Search.md b/docs/ox_inventory/Functions/Server/Inventory/Search.md index c2245c38..62bd5cc9 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/Search.md +++ b/docs/ox_inventory/Functions/Server/Inventory/Search.md @@ -4,7 +4,7 @@ Searches an inventory for a specified item. exports.ox_inventory:Search(inv, search, item, metadata) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * search: `string` * item: `table` or `string` * metadata?: `table` or `string` diff --git a/docs/ox_inventory/Functions/Server/Inventory/SetDurability.md b/docs/ox_inventory/Functions/Server/Inventory/SetDurability.md index ca8ed51b..1d3105a3 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/SetDurability.md +++ b/docs/ox_inventory/Functions/Server/Inventory/SetDurability.md @@ -6,7 +6,7 @@ Can be used for repairing weapons. exports.ox_inventory:SetDurability(inv, slot, durability) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * slot: `number` * durability: `number` diff --git a/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md b/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md index e6601c81..f0f8c5d2 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md +++ b/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md @@ -4,7 +4,7 @@ Sets the maximum weight available for an inventory. exports.ox_inventory:SetMaxWeight(inv, maxWeight) ``` -* inv: `string` or `number` or `table` +* inv: `table` or `string` or `number` * maxWeight: `number` **Example:** diff --git a/docs/ox_inventory/Functions/Server/Inventory/SetMetadata.md b/docs/ox_inventory/Functions/Server/Inventory/SetMetadata.md index c81a29e7..06d4f160 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/SetMetadata.md +++ b/docs/ox_inventory/Functions/Server/Inventory/SetMetadata.md @@ -4,7 +4,7 @@ Sets metadata on the specified slot. ox_inventory:SetMetadata(inv, slot, metadata) ``` -* inv: `string` or `number` +* inv: `table` or `string` or `number` * slot: `number` * metadata: `table` diff --git a/docs/ox_inventory/Functions/Server/Inventory/SetSlotCount.md b/docs/ox_inventory/Functions/Server/Inventory/SetSlotCount.md index 788dc85d..0af88cd5 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/SetSlotCount.md +++ b/docs/ox_inventory/Functions/Server/Inventory/SetSlotCount.md @@ -4,7 +4,7 @@ Sets the number of slots available for an inventory. exports.ox_inventory:SetSlotCount(inv, slots) ``` -* inv: `string` or `number` or `table` +* inv: `table` or `string` or `number` * slots: `number` **Example:** diff --git a/docs/ox_inventory/Functions/Server/Inventory/SwapSlots.md b/docs/ox_inventory/Functions/Server/Inventory/SwapSlots.md index 202a1eee..dbed8b34 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/SwapSlots.md +++ b/docs/ox_inventory/Functions/Server/Inventory/SwapSlots.md @@ -4,7 +4,7 @@ Swaps slots in specified inventories. exports.ox_inventory:SwapSlots(fromInventory, toInventory, slot1, slot2) ``` -* fromInventory: `any` -* toInventory: `any` +* fromInventory: `table` or `string` or `number` +* toInventory: `table` or `string` or `number` * slot1: `number` * slot2: `number`