function equipItem (server-side)
Available since version: 0.0.4
If you want to equip weapon/shield, first make sure that player is in
This function is used to equip item on player for all players.
void equipItem(int id, int itemId, int slotId = -1)
intid: the player id.
intitemId: the item id to equip on player.
intslotId: the slot id in which you want to equip item on player, e.g scrolls, runes, rings, by default the item will be equipped on the first free slot.