Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SetPedHeadBlendData.md #1024

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PED/SetPedHeadBlendData.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ ns: PED
void SET_PED_HEAD_BLEND_DATA(Ped ped, int shapeFirstID, int shapeSecondID, int shapeThirdID, int skinFirstID, int skinSecondID, int skinThirdID, float shapeMix, float skinMix, float thirdMix, BOOL isParent);
```

For more info please refer to [this](https://gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained) topic.
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As @PsychoShock said, it would be better to have these things (such as images and others) in the game references section, rather than linking off-site. What if these resources go down?

Copy link
Contributor

@PsychoShock PsychoShock Feb 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you prefer adding a new page on docs or just doing a special "peds" folder on game-references and adding everything related to them in the future @4mmonium (that would break fivem-peds link page tho (if we moving it) but would make more sense for futur updates on peds.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! I agree that this info should be somewhere within the docs, let me know abou your decision and any changes you want me to make!

I could also help setting up the page/section for this info.


**Other information:**

IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.</br>
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`](#_0xBB43F090)
Expand All @@ -38,4 +38,4 @@ This native function is often called prior to calling natives such as:
-- Unfortunately, there's no clear way of getting the head blend data in lua out of the box, but there are wrappers:
-- https://forum.cfx.re/t/small-c-export-event-wrapper-for-getpedheadblenddata/214611
SetPedHeadBlendData(PlayerPedId(), 0, 0, 0, 0, 0, 0, 0, 0, 0, false)
```
```
Loading