Skip to content

function unequipItemQueued (client-side)

Available since version: 0.3.9.0

Note

If you want to unequip weapon/shield, first make sure that player is in WEAPONMODE_NONE.

This function is used to push unequip item action for player/npc action queue.

Declaration

void unequipItemQueued(int id, Item item)

Parameters

  • int id: the player id.
  • Item item: the item object. For more information see Item class.