mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
CreateDropFromPlayer
This commit is contained in:
1 parent
ee818e7ad2
commit
2239676ebf
1 file changed
+18
@@ -0,0 +1,18 @@
|
|||||||
|
# CreateDropFromPlayer
|
||||||
|
|
||||||
|
Creates a new drop with the contents of a player's inventory.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
exports.ox_inventory:CreateTemporaryStash(playerId)
|
||||||
|
```
|
||||||
|
|
||||||
|
- playerId: `number`
|
||||||
|
|
||||||
|
Return:
|
||||||
|
- dropId: `string`
|
||||||
|
|
||||||
|
**Example**
|
||||||
|
|
||||||
|
```lua
|
||||||
|
local dropId = exports.ox_inventory:CreateDropFromPlayer(1)
|
||||||
|
```
|
||||||
Reference in new issue
Block a user