Example #1
0
        public async Task Main()
        {
            Logger.LogInfo("Clientside loaded!");

            HookHandler.InitializeHooks(this);
            ConCommandHandler.InitializeConCommands(this);
            RPC.RegisterInstance(this);
        }
Example #2
0
        public async Task Main()
        {
            await DatabaseTasks();

            ConCommandHandler.InitializeConCommands(this);
            RPC.RegisterInstance(this);

            RPC.AddNetworkString("SendUsefulData");
            RPC.AddNetworkString("SendDataToServer");
            RPC.AddNetworkString("PlayerDiedRPC");
        }