Skip to content

function unequipItem (client-side)

Available since version: 0.1.10

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


bool unequipItem(int id, int itemId)


  • 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.