• 0
Sign in to follow this  
Followers 0
NeverAgain

2 hour day and 2 hour night

Question

Posted (edited)

Hi please i need set to 2 hour day and 2 hour night with four hour restarts

this time.sqf use three hour day and 1 hour night :

// Time Multiplier
// CRE4MPIE
// GamersInc.NET
// Creds to A3W, LouD for help

if (!isServer) exitWith {};

while {true} do
{
    if (daytime >= 18 || daytime < 6) then
    {
        1500 setFog [0.9,0.05,20];
        setTimeMultiplier 12
    }
    else
    {
        setTimeMultiplier 4
    };


    uiSleep 30;
};

Edited by NeverAgain

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.