Skip to content

isValidHair Lua export

Bui edited this page Aug 17, 2014 · 1 revision

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.
Clone this wiki locally