{"hash":"0x60746B88","ns":"CFX","name":"SET_PED_HEAD_BLEND_DATA","slug":"SET_PED_HEAD_BLEND_DATA","official":true,"named":true,"luaName":"SetPedHeadBlendData","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped","description":"The ped entity"},{"name":"shapeFirstID","type":"int","description":"Controls the shape of the first ped's face"},{"name":"shapeSecondID","type":"int","description":"Controls the shape of the second ped's face"},{"name":"shapeThirdID","type":"int","description":"Controls the shape of the third ped's face"},{"name":"skinFirstID","type":"int","description":"Controls the first id's skin tone"},{"name":"skinSecondID","type":"int","description":"Controls the second id's skin tone"},{"name":"skinThirdID","type":"int","description":"Controls the third id's skin tone"},{"name":"shapeMix","type":"float","description":"0.0 - 1.0 Of whose characteristics to take Mother -> Father (shapeFirstID and shapeSecondID)"},{"name":"skinMix","type":"float","description":"0.0 - 1.0 Of whose characteristics to take Mother -> Father (skinFirstID and skinSecondID)"},{"name":"thirdMix","type":"float","description":"Overrides the others in favor of the third IDs."},{"name":"isParent","type":"BOOL","description":"IsParent is set for \"children\" of the player character's grandparents during old-gen character creation. It has unknown effect otherwise."}],"summary":"For more info and the list of faceIDs please refer to this topic.","descriptions":[{"source":"cfx","format":"md","body":"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.\n**Other information:**\nIDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.\nThis native function is often called prior to calling natives such as:\n\n*   [`SetPedHairColor`](#\\_0xA23FE32C)\n*   [`SetPedHeadOverlayColor`](#\\_0x78935A27)\n*   [`SetPedHeadOverlay`](#\\_0xD28DBA90)\n*   [`SetPedFaceFeature`](#\\_0x6C8D4458)\n\n**This is the server-side RPC native equivalent of the client native [SET_PED_HEAD_BLEND_DATA](?\\_0x9414E18B9434C2FE).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_PED_HEAD_BLEND_DATA","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_PED_HEAD_BLEND_DATA.md","snippets":{"lua":"SetPedHeadBlendData(ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent)","luaInvoke":"Citizen.InvokeNative(0x60746b88, ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent)","js":"SetPedHeadBlendData(ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent);","jsInvoke":"Citizen.invokeNative('0x60746b88', ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix + 0.0000001, skinMix + 0.0000001, thirdMix + 0.0000001, isParent);","csharp":"Function.Call((Hash)0x60746b88, ped, shapeFirstID, shapeSecondID, shapeThirdID, skinFirstID, skinSecondID, skinThirdID, shapeMix, skinMix, thirdMix, isParent);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}