2013-07-31 17:10:59 +01:00
|
|
|
function HandleDownfallCommand( Split, Player )
|
2013-07-27 16:24:03 +01:00
|
|
|
World = Player:GetWorld()
|
|
|
|
|
if World:GetWeather() == 0 then
|
|
|
|
|
World:SetWeather(1)
|
|
|
|
|
else
|
|
|
|
|
World:SetWeather(0)
|
|
|
|
|
end
|
2013-07-31 17:10:59 +01:00
|
|
|
Player:SendMessage(cChatColor.Green .. "[INFO] " .. cChatColor.White .. "Downfall toggled")
|
2013-07-27 16:24:03 +01:00
|
|
|
return true
|
|
|
|
|
end
|