mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
382 B
382 B
Removes the specified item from the specified inventory.
-- inv: string or table
-- item: table or string
-- count: number
-- metadata: table or string (optional)
-- slot: number (optional)
exports.ox_inventory:RemoveItem(inv, item, count, metadata, slot)
Example:
-- Removes 1 water from the inventory
exports.ox_inventory:RemoveItem(source, 'water', 1)