DuncanMac Posted June 20, 2021 Share Posted June 20, 2021 Why does this work Function.Call(Hash.SET_PED_HEAD_OVERLAY, Ped1, 8, 0, .63); //lipstick Function.Call(Hash._SET_PED_HEAD_OVERLAY_COLOR, Ped1, 8, 2, 0, 0); But I can't get this to work? Function.Call(Hash.SET_PED_HEAD_OVERLAY, Ped1, 10, 8, 1); //chest hair Function.Call(Hash._SET_PED_HEAD_OVERLAY_COLOR, Ped1, 10, 1, 0, 0); NOR THIS: Function.Call(Hash.SET_PED_HEAD_OVERLAY, Ped1, 1, 1, 1); //facial hair //_SET_PED_HEAD_OVERLAY_COLOR(Ped ped, int overlayID, int colorType, int colorID, int secondColorID) Function.Call(Hash._SET_PED_HEAD_OVERLAY_COLOR, Ped1, 1, 1, 0, 0); Link to comment Share on other sites More sharing options...
DuncanMac Posted June 21, 2021 Author Share Posted June 21, 2021 (edited) Ok i figured this one out and I will document it when i get it all straight. Right now it seems the issues was partially with opacity settings (seem 1 and 0 might be the same, so picked a value in the middle. You would expect 1 should be 100%, no?). Another issue seems to be ordering the code. Again, I'll post this when i have it figured out properly. For example, calling the function once did not spawn the lipstick, calling it a second time did. Moved the code for lipstick and it ran properly first time around. Used these functions below for the beard (don't need hash but changed it after looking at Menyoo source code - which didn't help at all). Function.Call((Hash)0x48F44967FA05CC1E, CurrentPed, 1, 5, 0.8); //beard Function.Call((Hash)0x497BF74A7B9CB952, CurrentPed, 1, 1, 0, 0); //beard colour Edited June 21, 2021 by DuncanMac Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now