Spoiler This script is the 2012 remake of my old Night and Day System that was so old and wasn't like it should have been. The entire script was I believe 170-190 lines of lua script and was it a nice script. This time around I have managed to use some of my newest knowledge of C# and my very well known knowledge of VB6.0, with a hint of C++...To make it about 5 times better, and only like 60-80 lines of code. It runs really good for what it is and everything.
Spoiler Alright, Lets basically sum it all up. If you used my last DnN script, thanks! You are amazing! If not, I will start at the beginning. This script will enable a very simple system that makes it day and night. It is very basic. It simply draws a block of white in the corner of the map, and makes it has big as the entire map. Then it makes it black, and makes its opacity/alpha change dynamically depending on the time.
Spoiler I pulled a DayZ out and decided that the realtime mode is disabled by default but once enabled, the time will be the server's time. If it is pitch black where the server is hosted, the game better be pitch black too! If you do not use that, the game will add 1 minute every second. Just like GTA does it. (right?)