Skip to content

function equipArmor (client-side)

Deprecated since version: 0.1.10

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

Declaration

bool equipArmor(int id, int itemId)

Parameters

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

Returns bool

toggle true if item was successfully equipped, otherwise null.