1. Is it possible to call a lua function in a C# plugin? If so, how? I always get The name `luapluginname' does not exist in the current context.

    luapluginname?.Call("Deposit", player.userID, Convert.ToSingle(itemdata["sell"]) * amount);
     
  2. Wulf

    Wulf Community Admin

    You need to "find" the plugin first. See Rust.
     
  3. Called the plugin and now it tells me error CS1525: Unexpected symbol `}'
     
  4. Wulf

    Wulf Community Admin

    That's an error with your code, not an issue from calling it. You appear to be missing a closing tag.