function getPlayerArmor (client-side)
Available since version: 0.0.1
This function will get the equipped player/npc armor.
Declaration
Item|null getPlayerArmor(int id)
Parameters
intid: the player id.
Returns Item|null
the item object or null. For more information see Item class.