Hello, new to plugin development and wanted to try to create a Rust plugin. I wanted to start with something simple.
I followed this tutorial for starters:Setting up a C# workspace in Visual Studio 2015 | Oxide
This code doesn't work
I assume I didnt do something right, can someone please explain what I did wrong? Thank you!Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;namespace FirstPlugin { public class Class1 { void Loaded() { Puts("Loaded works!"); } } }
Solved 'Puts' does not exist in the current context
Discussion in 'Rust Development' started by N9ne :), Oct 10, 2016.
-
Missing some code in your public class:
Code:public class Class1 : RustPlugin
-
-
Code:
using System; using System.Collections.Generic; using System.Linq; using System.Text;namespace Oxide.Plugins { public class Class1 : RustPlugin { void Loaded() { Puts("Loaded works!"); } } }
-