FabianTerhorst / coreclr-module

Old alt:V CoreClr (.NET Core Common Language Runtime) community made module. New: https://github.com/altmp/coreclr-module

Home Page:https://docs.altv.mp/cs/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AltAsync.OnScriptRpc

kyro95 opened this issue · comments

        AltAsync.OnScriptRpc += (@event, _, _, _, _) =>
        {
            try
            {
                @event.Answer("Hello from server");
            }
            catch (Exception e)
            {
                Alt.LogError(e.Message);
            }
        
            return Task.CompletedTask;
        };
  1. When replying to a RPC using AltAsync server suddently crashes
  2. While the same alt event on sync api Alt.OnScript RPC on async api it's named AltAsync.OnScript Rpc

already reported