Jump to content
RAGE Multiplayer Community

trouble with natives


ellfeeenity
 Share

Recommended Posts

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 by ellfeeenity
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...