Jump to content

Recommended Posts

Posted
Method not found: 'Void GTANetworkMethods.Player.SpawnPlayer(GTANetworkAPI.Player, GTANetworkAPI.Vector3, Single)'.
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.MissingMethodException: Method not found: 'Void GTANetworkMethods.Player.SpawnPlayer(GTANetworkAPI.Player, GTANetworkAPI.Vector3, Single)'.
   at async void CnR.Events.Authentication.OnReceiveLoginData(Player player, string password)
   at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<TStateMachine>(ref TStateMachine stateMachine)
   at void System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start<TStateMachine>(ref TStateMachine stateMachine)
   at void CnR.Events.Authentication.OnReceiveLoginData(Player player, string password)
   --- End of inner exception stack trace ---
   at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor, bool wrapExceptions)
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
   at void GTANetworkInternals.RemoteEventParser.Parse(Player sender, ulong eventNameHash, params object[] args)
   at void GTANetworkInternals.RemoteEventHandler.Parse(Player sender, ulong eventNameHash, params object[] arguments)

Error on

                        NAPI.Player.SpawnPlayer(player, new Vector3(324.300, -1968.545, 67.002));
 

prerelease version 1.1dp2 i think (latest) called on custom event

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...