useAddSkinMasks
Adds a skin mask to the clothes system.
Heads Up!
This hook do not add the skin mask to the player, it only adds it to the clothes system. To add the skin mask to the player, use player.addClothes
.
Syntax
useAddSkinMasks(masks);
Parameters
Name | Type | Description |
---|---|---|
masks | SkinMaskItem[] | The skin masks to add to the system. |
Example
useAddSkinMasks([
{
id: 'top',
url: 'https://example.com/mask.png',
},
]);
Available on: Client