View Single Post
CrazyGhostRider
Member
Join Date: Apr 2014
Location: Russia
Old 04-01-2020 , 16:17   Re: [DEV] Plugin reload
Reply With Quote #12

Nothing changed.

Let me show you the example plugin "speclist.smx"
The plugin is already loaded on the server. I am throwing a new plugin (with the new sm_test command)
Server console:
[AutoReload] test/speclist.smx has changed timestamp. Reloading...
[SM] Plugin test\speclist.smx is already loaded.

In game chat :
test/speclist.smx plugin reloaded. Status: NOT Loaded


I check the performance:
Unknown command "sm_test"

I manually restart the plugin:
Server console:
sm plugins reload test/speclist
[SM] Plugin Spectator List reloaded successfully.

And only after that the plugin rebooted and the sm_test command started working.



And the second error is this:
The server is on. Delete the plugin:
Server console:
[AutoReload] test/speclist.smx plugin is deleted. Unloading...
[SM] Plugin Spectator List unloaded successfully.

I am returning the plugin
Server console:
[AutoReload] test/speclist.smx has changed timestamp. Reloading...
[SM] Loaded plugin test\speclist.smx successfully.

In game chat :
test/speclist.smx plugin reloaded. Status: NOT Loaded

Last edited by CrazyGhostRider; 04-01-2020 at 17:40.
CrazyGhostRider is offline