Jump to content

Recommended Posts

Posted

when player leaves my local server crashes, playerDisconnected doesnt called

and in server_exceptions.txt this (bridge version)

Цитата

System.ArgumentException: Object of type 'GTANetworkAPI.DisconnectionType' cannot be converted to type 'System.Byte'.
   at object RuntimeType.TryChangeType(object value, Binder binder, CultureInfo culture, bool needsSpecialCast)

 

Posted
4 hours ago, ellfeeenity said:

when player leaves my local server crashes, playerDisconnected doesnt called

and in server_exceptions.txt this (bridge version)

 

Post the code where you process the event if you want to get help. We can't help you without knowing what you are doing wrong. From the error it just seems that you're trying to convert DisconnectionType to Byte, but disconnection type is not an extension of byte.

Posted
13 часа назад, Stuyk сказал:

The answer to this question was to not use the NuGet package. Reference the bootstrapper .dll inside of your run time folder.
 

 

thank u, thats work

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...