Ok, so the script makes day go 3x and night go 6x, but players aren't synced. Can someone tell me what I'm doing wrong? Or how to force sync?
In the mission init.sqf I have:
Then this is the script:
In the mission init.sqf I have:
Code:
startdate = [2012,0.72123287671];
[true] execVM "fastTime.sqf";
Then this is the script:
Code:
sleep 20;
//Credit to TiGGa for original script
//startdate = [2012,0.72123287671]; //9-19-2012 06:00
_increments = 0.0000002; //~1 minutes
for [{_i=0},{_i<1},{_i=_i}] do
{
_date = startdate select 1;
_date = _date + _increments;
if (_date >= 1) then //set year +1
{
startdate set [0,(startdate select 0)+1];
startdate set [1,0];
}
else
{
startdate set [1,_date];
};
setDate NumberToDate startdate;
if (((NumberToDate startdate) select 3) >= 18 or ((NumberToDate startdate) select 3) <= 6) then {_increments = 0.0000004;} else {_increments = 0.0000002;};
sleep 20;
};