mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
19 lines
285 B
Plaintext
19 lines
285 B
Plaintext
# CreateDropFromPlayer
|
|
|
|
Creates a new drop with the contents of a player's inventory.
|
|
|
|
```lua
|
|
exports.ox_inventory:CreateDropFromPlayer(playerId)
|
|
```
|
|
|
|
- playerId: `number`
|
|
|
|
Return:
|
|
- dropId: `string`
|
|
|
|
**Example**
|
|
|
|
```lua
|
|
local dropId = exports.ox_inventory:CreateDropFromPlayer(1)
|
|
```
|