function
equipHelmet (client-side)
Deprecated since version: 0.1.10
This function is used to equip helmet on hero/npc.
Declaration
bool equipHelmet(int id, int itemId)
Parameters
int
id: the player id.int
itemId: the helmet itemId to equip on player.
Returns bool
true
if item was successfully equipped, otherwise null
.