2012-07-12 18:11:28 +00:00
|
|
|
function HandleStopCommand( Split, Player )
|
|
|
|
|
Server = cRoot:Get():GetServer()
|
2013-03-24 15:44:44 +00:00
|
|
|
PluginManager = cRoot:Get():GetPluginManager()
|
2012-07-12 18:11:28 +00:00
|
|
|
Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
|
2013-03-24 15:44:44 +00:00
|
|
|
PluginManager:ExecuteConsoleCommand("stop")
|
|
|
|
|
--cRoot:Get():ServerCommand("stop")
|
2012-07-12 18:11:28 +00:00
|
|
|
return true
|
|
|
|
|
end
|