UpdatePlayerHeadBlend

From GTA Network Wiki
Jump to: navigation, search

UpdatePlayerHeadBlend
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Update the head blend of a player's head. Note that NAPI.Player.SetPlayerHeadBlend must be used beforehand.

The float mix defines the mixture between the head blends. For ShapeMix and SkinMix, 0.0f favors the first blend, while 1.0f favors the second blend. ThirdMix serves as the third extra head blend mixture. Using this above 0.0f will cause the third head blend to be mixed into the first two.

Example images of faces

Syntax

void NAPI.Player.UpdatePlayerHeadBlend(Client player, float shapeMix, float skinMix, float thirdMix);

Required Arguments

  • player: parameter input should be in Client type.
  • shapeMix: parameter input should be in float type (0f to 1f).
  • skinMix: parameter input should be in float type (0f to 1f).
  • thirdMix: parameter input should be in float type (0f to 1f).

Usage example(s)

Example Description

NAPI.Player.UpdatePlayerHeadBlend(player, 1.0f, 0.25f, 0.0f);

Changelog

Version Description
0.3.0.3 Release.

References