Search:

Type: Posts; User: ColColonCleaner

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    1,111

    BF4 When you instantiate the exampleClass you need to...

    When you instantiate the exampleClass you need to give it the instance of your plugin.

    Add a constructor to it like this:

    public exampleClass(myPlugin plugin) {
    _plugin = plugin;
    }
    ...
  2. Replies
    5
    Views
    1,111

    BF4 You have two writetoconsole methods, one inside...

    You have two writetoconsole methods, one inside the other. That is not valid C# syntax. It might be helpful to use an IDE to catch syntax issues before deployment. I use visual studio 2017 community,...
  3. Replies
    5
    Views
    1,111

    BF4 You can have SUBCLASSES in a plugin, but not...

    You can have SUBCLASSES in a plugin, but not multiple main classes. There is only one instance of the main plugin tied back to procon events for each server. Procon is not listening for fired events...
Results 1 to 3 of 3