Skip to content

function removeItem (client-side)

Available since version: 0.3.0

Remove an item from a player's inventory on the client.

Declaration

bool removeItem(int player_id, string instance, int amount)

Parameters

  • int player_id: Target player id.
  • string instance: Item instance name.
  • int amount: Amount to remove.

Returns bool

True on success.