Skip to content

function removeItem (client-side)

Available since version: 0.2

This function is used to remove item from player/npc.

Declaration

void removeItem(int id, string instance, int amount)

Parameters

  • int id: the player id.
  • string instance: the item instance from Daedalus scripts.
  • int amount: the amount of item, e.g: 1000 gold coins.