function removeItem (client-side)
Available since version: 0.3.0
This function will remove an item from the player/NPC inventory on the client.
Declaration
boolean removeItem(number player_id, string instance, number amount)
Parameters
numberplayer_id: Target player or NPC id; negative ids refer to client-local NPCs.stringinstance: ItemDefinition instance name.numberamount: Amount to remove.
Returns boolean
True on success.