# 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dxs-scripts.gitbook.io/home/documentation/fivem/dxs-weather.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
