Hello,
I am currently working on a player editor script in lua and I am able to use many functions like SetPedComponentVariation, SetPedPropIndex …
But I am not able to use the SetPedHeadBlData function. Here is how I call it in my script:
SetPedHeadBlData(GetPlayerPed(-1), 0, 0, 0, 0, 0, 0, 1.0, 1.0, 0.0, true)
I think that I respect the method signature which is :
SetPedHeadBlData(Ped ped, int shapeFirstID, int shapeSecondID,
int shapeThirdID, int skinFirstID, int skinSecondID,
int skinThirdID, float shapeMix, float skinMix, float thirdMix,
BOOL isParent)
Any Idea why it fails ?
Thanks for your help