Skip to content

function getPlayerShield (client-side)

Available since version: 0.0.1

This function will get the equipped player/npc shield.

Declaration

Item|null getPlayerShield(int id)

Parameters

  • int id: the player id.

Returns Item|null

the item object. For more information see Item class.