Skip to content

function getPlayerAmulet (client-side)

Available since version: 0.1.10

This function will get the equipped player/npc amulet.

Declaration

Item|null getPlayerAmulet(int id)

Parameters

  • int id: the player id.

Returns Item|null

the item object. For more information see Item class.