Hi LMS, this is what I first thought and tried but I get an exception: Could not load plugin ... does not have the required Plugin attribute
using "LoadPlugin LSPDFR\BazingaCallouts.dll true" in console
[28.08.2018 18:52:05.163] Loading plugin from path: C:\Games\Grand Theft Auto V\Plugins\LSPDFR\BazingaCallouts.dll
[28.08.2018 18:52:06.609] <UNLOADED PLUGIN>: Initializing input system
[28.08.2018 18:52:06.612] <UNLOADED PLUGIN>: Initializing game console
[28.08.2018 18:52:06.614] <UNLOADED PLUGIN>: Initializing forms manager
[28.08.2018 18:52:06.656] ERROR: Could not load plugin from "C:\Games\Grand Theft Auto V\Plugins\LSPDFR\BazingaCallouts.dll". Assembly BazingaCallouts.dll (BazingaCallouts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null) does not have the required Plugin attribute.
[28.08.2018 18:52:06.656] Parametername: assemblyPath
I guess it is because "LoadPlugin" is for "normal" rage plugins with static class EntryPoint and not Callouts?
Because if I use a Rage Plugin with an EntryPoint I can reload a dll but I cannot use the "LoadPlugin" on a Callout
Example:
working with "LoadPlugin testme.dll true" whereas testme.dll is in the Plugin Folder
public static class EntryPoint
{
public static void Main()
{
}
}
not working with "LoadPlugin LSPDFR\BazingaCallouts.dll" whereas Callout.dll is in the Plugin\LSPDFR Folder
and the structure is
public class Main : Plugin
{
}