isValidHair Lua export - VanaDev/Vana GitHub Wiki

isValidHair

Script Type(s): All Lua Scripts

Category: Beauty Exports

Return(s):

  • isValid: boolean
Argument(s):
  • hairId: number
Notes: Returns true if the specified hair is valid or not (based on the current player's gender). Useful primarily when building hair colors that may or may not exist.
⚠️ **GitHub.com Fallback** ⚠️