This file was automatically imported from the old site. You can see other imported files on the reuploads page.

Just re-uploaded the day time cycle script that use the light_environment entity to make a time cycle.
You can modify the script in lua/autorun/daytime.lua
Might be useful for some gamemodes like GModRacer 2 and Roleplay! ;)

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • Daytime <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • Daytime/
    • info.txt
    • lua/
      • autorun/
        • daytime.lua
    • maps/
      • daytime_demo.bsp