Player::setHeadOverlayColor: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(Added table with overlay ids.)
 
Line 1: Line 1:
Used for freemode (online) characters.<br><br>ColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.<br><br>Called after SET_Player_HEAD_OVERLAY().
Used for freemode (online) characters.<br><br>ColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.<br><br>Called after SET_Player_HEAD_OVERLAY().
<br>
{| class="wikitable"
| OverlayID
| Part                 
|-
| 0
| Blemishes   
|-
| 1
| Facial Hair
|-
| 2
| Eyebrows 
|-
| 3
| Ageing
|-
| 4
| Makeup
|-
| 5
| Blush
|-
| 6
| Complexion
|-
| 7
| Sun Damage
|-
| 8
| Lipstick
|-
| 9
| Moles/Freckles
|-
| 10
| Chest Hair
|-
| 11
| Body Blemishes
|-
| 12
| Add Body Blemishes
|-
|}
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.setHeadOverlayColor(overlayID, colorType, colorID, secondColorID);</syntaxhighlight>
<syntaxhighlight lang="javascript">player.setHeadOverlayColor(overlayID, colorType, colorID, secondColorID);</syntaxhighlight>

Latest revision as of 09:41, 22 February 2020

Used for freemode (online) characters.

ColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.

Called after SET_Player_HEAD_OVERLAY().

OverlayID Part
0 Blemishes
1 Facial Hair
2 Eyebrows
3 Ageing
4 Makeup
5 Blush
6 Complexion
7 Sun Damage
8 Lipstick
9 Moles/Freckles
10 Chest Hair
11 Body Blemishes
12 Add Body Blemishes

Syntax

player.setHeadOverlayColor(overlayID, colorType, colorID, secondColorID);

Required Arguments

  • overlayID: int
  • colorType: int
  • colorID: int
  • secondColorID: int

Return value

  • Undefined

Example

// todo

See also