GetWeather
attention
La fonctionnalité de type fonction a été ajoutée dans la version omp v1.1.0.2612 et ne fonctionne pas avec les versions antérieures !
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.