FordeD Posted July 16, 2019 Share Posted July 16, 2019 (edited) i have HeadOverlay structure on server structure screenshot: https://prnt.sc/og0skd After join server set headOverlay to player from structure piece of code: var params = Object.keys(character.customisation.details); for (var i = 0; i < params.length; i++) { if ((character.customisation == false && params[i] != "facial_hair" && params[i] != "body_blemishes" && params[i] != "chest_hair") || (character.customisation == true && params[i] != "makeup" && params[i] != "blush" && params[i] != "lipstick")) { let detail = character.customisation.details[params[i]]; player.setHeadOverlay(i, [detail.index, parseFloat(detail.opacity), detail.color1, detail.color2]); } else { let detail = character.customisation.details[params[i]]; player.setHeadOverlay(i, [detail.index, 0.0, detail.color1, detail.color2]); } } and function setHeadOverlay not works for other players (in stream). I don't see changes on player-ped (another player) needle overlay existing result Why? this problem also exists when creating a ped character and giving it overlay on the client side Edited July 16, 2019 by FordeD 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