mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
update inventory server docs
This commit is contained in:
1 parent
c013d3ff0c
commit
4dbd9dd4ab
21 files changed
+112
-91
No files matched your search
@@ -1,10 +1,11 @@
|
||||
Returns the specified slot data as a table.
|
||||
|
||||
```lua
|
||||
-- inv: string or number
|
||||
-- slot: number
|
||||
|
||||
exports.ox_inventory:GetSlot(inv, slot)
|
||||
```
|
||||
* inv: `string` or `number`
|
||||
* slot: `number`
|
||||
|
||||
**Example:**
|
||||
```lua
|
||||
@@ -23,4 +24,4 @@ print(json.encode(slot, {indent=true}))
|
||||
"count: 4
|
||||
}
|
||||
]]
|
||||
```
|
||||
```
|
||||
Reference in new issue
Block a user