# getWeather (Client)

> Returns this client's current weather. During a blend, it is the weather being blended to.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: World and weather
- **URL**: https://wiki.mymp.gg/en/getWeather

## Syntax

```lua
int, string getWeather()
```

## Returns

The weather id and its name.

## Example

```lua
local id, name = getWeather()
outputDebugString("Weather: " .. name .. " (" .. id .. ")")
```

## See also

- [setWeather (Client)](https://wiki.mymp.gg/en/setWeather.md): Changes this client's weather, at once or over a blend.
- [getWeatherNames (Client)](https://wiki.mymp.gg/en/getWeatherNames.md): Lists the weathers the loaded packs declare.
