(hour)
hour
The hour to set (0-23)
Tip: To set the minutes and/or to set the time for individual players, see SetPlayerTime.
// Set the time to 12 o'clock (noon)
SetWorldTime(12);
Note: This function is only relevant for players that do not use a passing clock - see TogglePlayerClock.
The following functions may be useful, as they are related to this function in one way or another.