aae46468c7
changed back the stop.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@1312 0a769ca7-a7f5-676a-18bf-c427514a06d6
10 lines
254 B
Lua
10 lines
254 B
Lua
function HandleToggleDownfallCommand( Split, Player )
|
|
World = Player:GetWorld()
|
|
if World:GetWeather() == 0 then
|
|
World:SetWeather(1)
|
|
else
|
|
World:SetWeather(0)
|
|
end
|
|
Player:SendMessage( cChatColor.Green .. "Weather toggled")
|
|
return true
|
|
end |