Skip to content

function equipItem (client-side)

Available since version: 0.1.10

This function is used to equip item on hero/npc.


bool equipItem(int id, int itemId)


  • int id: the player id.
  • int itemId: the item id to equip on player.

Returns bool

toggle true if item was successfully equipped, otherwise false.