ellfeeenity Posted March 19, 2018 Posted March 19, 2018 (edited) when i use this code (c#) NAPI.Native.SendNativeToAllPlayers( Hash.SET_PED_HEAD_BLEND_DATA, player.Handle, CustomPlayerData[player.Handle].Parents.Mother, CustomPlayerData[player.Handle].Parents.Father, 0, CustomPlayerData[player.Handle].Parents.Mother, CustomPlayerData[player.Handle].Parents.Father, 0, CustomPlayerData[player.Handle].Parents.Similarity, CustomPlayerData[player.Handle].Parents.SkinSimilarity, 0, false ); server and gtav crashes and in logs this: System.Reflection.TargetParameterCountException: Parameter count mismatch. at object[] System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) how fix it? Edited March 19, 2018 by ellfeeenity
ellfeeenity Posted March 20, 2018 Author Posted March 20, 2018 4 часа назад, kemperrr сказал: why not player.SetCustomization()? thanks, but how change HeadOverlayColor? And how use HeadBlend data? i use this HeadBlend Var; Var.ShapeFirst = (byte)mother; but maybe u know other case?
ellfeeenity Posted March 21, 2018 Author Posted March 21, 2018 1 час назад, Djoe_ сказал: This may be able to help you: https://pastebin.com/sBgTtqwk thanks, man)
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