Skip to content

[C# client] ScriptRPCEvent.WillAnswer does not work #837

@duydang2311

Description

@duydang2311

I'm using WillAnswer in my client RPC event handler but the server somehow gets Answer not handled error.

Alt.OnScriptRPC += async (scriptRpcEvent, name, args, answerId) => {
    scriptRpcEvent.WillAnswer();
    await Task.Delay(1);
    await AltAsync.Do(() => {
        scriptRpcEvent.Answer("OK");
    });
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions