Signature
native rg_remove_items_by_slot(const index, const InventorySlotType:slot, const bool:removeAmmo = true);
Description
Remove all the player's stuff in a specific slot.
Parameters
- index — Client index
- slot — The slot that will be emptied
- removeAmmo — Remove ammunition
Returns
1 - successful removal of all items in the slot or the slot is empty
0 - if at least one item failed to remove