ellfeeenity Posted March 16, 2019 Share Posted March 16, 2019 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) Link to comment Share on other sites More sharing options...
robearded Posted March 16, 2019 Share Posted March 16, 2019 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. Link to comment Share on other sites More sharing options...
ellfeeenity Posted March 17, 2019 Author Share Posted March 17, 2019 i just use empty gamemode without any events Link to comment Share on other sites More sharing options...
ellfeeenity Posted March 17, 2019 Author Share Posted March 17, 2019 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 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