3a6e9983f5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1637 0a769ca7-a7f5-676a-18bf-c427514a06d6
6 lines
215 B
Lua
6 lines
215 B
Lua
function HandleStopCommand( Split, Player )
|
|
Server = cRoot:Get():GetServer()
|
|
Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
|
|
cRoot:Get():QueueExecuteConsoleCommand("stop")
|
|
return true
|
|
end |