Player::hairColor

From RAGE Multiplayer Wiki
Revision as of 05:25, 31 May 2019 by Micaww (talk | contribs) (Created page with "This property returns the player's primary hair color. '''Note: This property is read-only.''' == Getter == * {{RageType|number}} The player's hair color == Example == {{Se...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This property returns the player's primary hair color.

Note: This property is read-only.

Getter

  • number The player's hair color

Example

Server-Side
const player = mp.players.at(0);

player.setHairColor(5, 0);

const hairColor = player.hairColor; // hairColor is 5

See Also