CounterStrikeSharp
CounterStrikeSharp copied to clipboard
css_plugins reload/restart targeting issue
Description
However css_plugins unload Test-Plugin and css_plugins load Test-Plugin finds the plugin by its name, but css_plugins reload Test-Plugin does not.
Further informations about this case:
- The load command targets the name of the DLL
- The unload command targets the name of the loaded plugin's module name
- The reload also allows only module name targeting
Probably it would be a good addition to allow the targeting by the DLL's name as some of the plugin names are long and people don't know that they can use "" to give the plugin's loaded name or they don't know that it can be reloaded or unloaded only by the module name, but not the DLL name.