Jump to content

Recommended Posts

Posted

Hi guys. How fix problem? file enable-clientside-cs.txt exists in RAGEMP folder.

System.Private.CoreLib
   at System.Reflection.Emit.InternalAssemblyBuilder.get_Location()
The invoked member is not supported in a dynamic assembly.
The invoked member is not supported in a dynamic assembly.


Client file

using RAGE;

namespace Simple.Client
{
    public class AuthorizeEvent : Events.Script
    {
        public AuthorizeEvent()
        {            
            Events.OnPlayerChat += OnPlayerChat;
        }

        private void OnPlayerChat(string text, Events.CancelEventArgs cancel)
        {
            Chat.Output("TestClient");
            Chat.Output(text);
        }
    }
}

 

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