RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_PED_HEAD_BLEND_DATA

SET_PED_HEAD_BLEND_DATA

For more info and the list of faceIDs please refer to [this](https://gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained) topic. Note that the Skin and Shape IDs are shared. This native will use this same list for both Skin and Shape IDs. **Other information:** IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC. This native function is often called prior to calling natives such as: * [`SetPedHairColor`](#\_0xA23FE32C) * [`SetPedHeadOverlayColor`](#\_0x78935A27) * [`SetPedHeadOverlay`](#\_0xD28DBA90) * [`SetPedFaceFeature`](#\_0x6C8D4458) **This is the server-side RPC native equivalent of the client native [SET_PED_HEAD_BLEND_DATA](?\_0x9414E18B9434C2FE).**

CFX

Signature

lua
SetPedHeadBlendData(PlayerPedId(), 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, true)
-- returns void

Parameters

NameTypeDescription
PedThe ped entity
intControls the shape of the first ped's face
intControls the shape of the second ped's face
intControls the shape of the third ped's face
intControls the first id's skin tone
intControls the second id's skin tone
intControls the third id's skin tone
float0.0 - 1.0 Of whose characteristics to take Mother -> Father (shapeFirstID and shapeSecondID)
float0.0 - 1.0 Of whose characteristics to take Mother -> Father (skinFirstID and skinSecondID)
floatOverrides the others in favor of the third IDs.
BOOLIsParent is set for "children" of the player character's grandparents during old-gen character creation. It has unknown effect otherwise.

Usage

lua
SetPedHeadBlendData(PlayerPedId(), 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details