summaryrefslogtreecommitdiffstats
path: root/Core/weather.lua
blob: 7176e544e6bf3f8d9b4fb939c1f28636e7b7e887 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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