Jump to content

Cannot bind to the target method because its signature is not compatible with that of the delegate type.Void OnPlayerDisconnected


Recommended Posts

  • 3 months later...
Posted
On 12/28/2023 at 5:45 PM, Xabi said:

Extended entities won't work on events, use Player class.

but bro there are server that make their own player class it should be possible i have the same error

Posted
1 hour ago, Jack0x said:

but bro there are server that make their own player class it should be possible i have the same error

You can always make a simple casting, "bro"

Posted
1 hour ago, Xabi said:

You can always make a simple casting, "bro"

but i cant pass my custom player directly  where there certain changes ??

  • 3 weeks later...
Posted

Yes, not sure if it's bug or intended but for some time already you can only pass base MP classes as event arguments, not your extended ones.

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