Change map weather/light/sky?

Hello guys. I remember that in the old AMX MODX It was possible to change daylight (make the day becom night), weather (make It rain) and change sky texture. There’s anyway to do that on lua?

I might be wrong (never messed with it before) but I believe they played with the skybox. A good addon to look at for examples is My_Hat_Stinks weather addon. I helped him test it when he was creating it and it did what you are describing.

You could look into this one too.