Skip to content

function unequipItem (client-side)

Available since version: 0.1.10

This function is used to unequip item from hero/npc.

Declaration

bool unequipItem(int id, int itemId)

Parameters

  • int id: the player id.
  • int itemId: the item id to unequip from player.

Returns bool

toggle true if item was successfully unequipped, otherwise false.