SetWorldTime
From SA-MP Wiki
SetWorldTime
Sets the world time to a specific hour.
(hour)
| hour | Which time to set. |
This function does not return a specific value.
//set to 12 o'clock SetWorldTime(12);
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- SetPlayerTime: Set a player's time.
- SetWeather: Set the global weather.
- SetGravity: Set the global gravity.
