Has Cosmetic Fact
Checks if a player has a specific cosmetic unlocked.
Campos
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
group | Ref<GroupEntry> | — | — |
cosmeticId | String | — | ID of the cosmetic to check. |
artifact | Ref<PlayerCosmeticsArtifactEntry> | — | Reference to the player data artifact. If empty, tries to find the default one. |
Campos comunes de TypeWriter (comment)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
comment | String | — | — |
How to use it
Returns 1 when the cosmetic was unlocked for the player and 0 otherwise. Set cosmeticId to the entry ID of the cosmetic definition. A cosmetic that is only available through its permission is not counted, and the artifact field is not read.