inventory client new properties style update

This commit is contained in:
Luke committed 2022-11-17 11:09:26 +01:00
1 parent 5d2f3e22ff
commit c013d3ff0c
7 files changed
+40 -32

No files matched your search

@@ -1,13 +1,22 @@
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
Opens an inventory using on the passed data.
Opens an inventory using the passed data.
```lua
-- invType: string
-- data: number | string | table
exports.ox_inventory:openInventory(invType, data)
```
* invType: `string`
* `'player'`
* `'shop'`
* `'stash'`
* `'crafting'`
* `'container'`
* `'drop'`
* `'glovebox'`
* `'trunk'`
* `'dumpster'`
* data: `number` or `string` or `table`
<Tabs>
<TabItem value="1" label="Player">