Skip to content
On this page

armour()

Used to get or set a player's armour.

Function Definition

ts
public armour: number;

Returns

  • number

Documentation

Examples

ts
const currentArmour = player.armour;
player.armour = 100; // Set to full armour.
player.armour = 0; // Set armour to zero.

Documentation Created with ❤️ by Stuyk