22.10.2017, 22:30
Didnt read the part where he only wants 4 dark hours ![Cheesy](images/smilies/biggrin.png)
Tho SetWorldTime only sets the hour, not minutes. To me it is way better to set minutes aswell, idk really if SA world time changes suddently from hour to hour, but if there is a function setting minutes too, I guess it doesn't.
EDIT: Also your code only sets time to 12 either to 0, where is sunset/dawn?
![Cheesy](images/smilies/biggrin.png)
Tho SetWorldTime only sets the hour, not minutes. To me it is way better to set minutes aswell, idk really if SA world time changes suddently from hour to hour, but if there is a function setting minutes too, I guess it doesn't.
EDIT: Also your code only sets time to 12 either to 0, where is sunset/dawn?