Skip to content

function getPlayerArmor (client-side)

Available since version: 0.0.1

This function will get the equipped player/npc armor.

Declaration

int getPlayerArmor(int id)

Parameters

  • int id: the player id.

Returns int

the itemId of equipped armor.