addClothes
Adds clothes to the player.
Syntax
player.addClothes(clothes);
Parameters
Name | Type | Description |
---|---|---|
clothes | PlayerClotheItem[] | The clothes to add to the player. |
replace (optional) | boolean | Whether to replace all clothes. |
Example
player.addClothes([
{
id: 'beach-tshirt',
},
]);
Available on: Client Server