native
rg_drop_items_by_slot
Syntax
native rg_drop_items_by_slot(const index, const InventorySlotType:slot);
Description
Drop to floor all the player's stuff by specific slot.
Parameters
| index | Client index |
|---|---|
| slot | Specific slot for remove of each item. |
Return
1 - successful drop of all items in the slot or the slot is empty
0 - if at least one item failed to drop