Help c#

I am trying to code something but:

private static int MinDistance => Menu.Item("Dagger.MinDistance").GetValue().Value;

And i got Error 12 Invalid token ';' in class, struct, or interface member declaration

Tagged:

Comments

  • IdcNoobIdcNoob Posts: 1,154

    If its slider then probably, this will work
    private static int MinDistance => Menu.Item("Dagger.MinDistance").GetValue<Slider>().Value;

    But i recommend using sdk MenuFactory, unless u are just trying to edit some assembly.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!