Quote:
Originally Posted by AiRaLoKa
pawn Код:
// minute++; gamehour++;//define it with the minute thingy if(minute == 60) { minute = 0; hour++; gamehour++; } if(hour == 12 && minute == 0) { if(IsMorning == true){IsMorning = false;} else{IsMorning = true;} } if(hour == 13){hour = 1;} if(gamehour==24){gamehour=0;} SetWorldTime(gamehour);
i don't know is it work or not...
but hope it's worked
|
I'll be trying ti, thanks. I thought this might work just by reading it, we'll see.
EDIT: (facepalm) hours are 0-23, rather than 1-24. Thanks for the help anyways lol