I managed to confuse myself - Custom game time help
#6

you can also do this (just remembering)
pawn Код:
//
    minute++;
    if(minute == 60)
    {
        minute = 0;
        hour++;
        gamehour++;//define it with the minute thingy
    }
    if(hour == 12 && minute == 0)
    {
        if(IsMorning == true){IsMorning = false;}
        else{IsMorning = true;}
    }
    if(hour == 13){hour = 1;}
    if(gamehour > 23){gamehour = 0;}
    SetWorldTime(gamehour, minute);// for detailed maybe
Reply


Messages In This Thread
I managed to confuse myself - Custom game time help - by Aerotactics - 02.06.2014, 07:55
Re: I managed to confuse myself - Custom game time help - by Rittik - 02.06.2014, 07:59
Re: I managed to confuse myself - Custom game time help - by Aerotactics - 02.06.2014, 08:22
Re: I managed to confuse myself - Custom game time help - by AiRaLoKa - 02.06.2014, 08:36
Re: I managed to confuse myself - Custom game time help - by Aerotactics - 02.06.2014, 08:47
Re: I managed to confuse myself - Custom game time help - by AiRaLoKa - 03.06.2014, 03:49

Forum Jump:


Users browsing this thread: 2 Guest(s)