# getWeatherNames (Client)

> Lists the weathers the loaded packs declare.

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

## Syntax

```lua
table getWeatherNames()
```

## Returns

A list of names. The name at index `i` belongs to weather id `i - 1`.

## Example

```lua
for i, name in ipairs(getWeatherNames()) do
    print((i - 1) .. ": " .. name)
end
```

## See also

- [getWeather (Client)](https://wiki.mymp.gg/en/getWeather.md): Returns this client's current weather. During a blend, it is the weather being blended to.
- [setWeather (Client)](https://wiki.mymp.gg/en/setWeather.md): Changes this client's weather, at once or over a blend.
