warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
GetWeather
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Get the current world weather.
Examples
SetWeather(19);
printf("Current world weather: %d", GetWeather());
// The output will be 'Current world weather: 19'
Related Functions
- SetWeather: Set the world weather for all players.
- GetPlayerWeather: Get a player's weather.
- SetPlayerWeather: Set a player's weather.