> For the complete documentation index, see [llms.txt](https://dxs-scripts.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dxs-scripts.gitbook.io/home/documentation/fivem/dxs-weather.md).

# DXS Weather

<figure><img src="/files/QOZ6F6nVLpDJb4zs8JoK" alt=""><figcaption></figcaption></figure>

### Installation

* Add the resource:
* In server.cfg : ensure DXS\_weather
* Set admin access (SteamID whitelist):
* Optional ACE permissions:
* Keep Config.Permission = 'dxs.weather'&#x20;
* Example server.cfg :
  * add\_ace group.admin dxs.weather allow
  * add\_principal identifier.steam:11000010ABCDEF group.admin

### Configure defaults

* Config.DefaultWeather , Config.DefaultHour , Config.DefaultMinute&#x20;
* Edit Config.AllowedWeathers to match your server’s needs&#x20;
* Restart your RedM server to load the resource

#### Usage

* Type /weather in chat to open the UI&#x20;
* Choose weather, set hour via slider, pick AM/PM, then press Save
* Press Reset to stop enforcement and return to normal dynamic weather
* Allowed options in the UI are populated from Config.AllowedWeathers&#x20;
