Skip to content

Commit a2ba132

Browse files
authored
Merge pull request #205 from exqlusive/patch-3
Update Server.mdx
2 parents 632ed4f + 3e37293 commit a2ba132

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pages/ox_inventory/Functions/Server.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,16 @@ exports.ox_inventory:GetInventoryItems(inv, owner)
630630
local playerItems = exports.ox_inventory:GetInventoryItems(source)
631631
```
632632

633+
## InspectInventory
634+
635+
Inspect the player their inventory. You will not be able to modify the inventory.
636+
637+
```lua
638+
exports.ox_inventory:InspectInventory(target, source)
639+
```
640+
- target: `number`
641+
- source: `number`
642+
633643
## ConfiscateInventory
634644

635645
Clears a player's inventory and saves it to a stash.

0 commit comments

Comments
 (0)