Player::getHeadBlend

From RAGE Multiplayer Wiki

Server-Side
Function

 JavaScript



JavaScript Syntax


//Return values

interface HeadBlendData {
  shapes: number[];
  skins: number[];
  shapeMix: number;
  skinMix: number;
  thirdMix: number;
}

Return value

  • Object

Syntax

player.getHeadBlend();

Example

const player = mp.players.at(0);
if (!player || !mp.players.exists(player)) return;
const { shapes, skins, shapeMix, skinMix, thirdMix } = player.getHeadBlend();
console.log(shapes, skins, shapeMix, skinMix, thirdMix);


See Also