diff options
Diffstat (limited to 'Plugins/NewTest/reload.lua')
-rw-r--r-- | Plugins/NewTest/reload.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Plugins/NewTest/reload.lua b/Plugins/NewTest/reload.lua new file mode 100644 index 000000000..e2b338ba1 --- /dev/null +++ b/Plugins/NewTest/reload.lua @@ -0,0 +1,6 @@ +function HandleReloadCommand( Split, Player )
+ Server = cRoot:Get():GetServer()
+ Server:SendMessage( cChatColor.Green .. "Reloading all plugins." )
+ cRoot:Get():GetPluginManager():ReloadPlugins()
+ return true
+end
\ No newline at end of file |