Installation
Install Weather System, take out the old weather script, and add two lines to server.cfg.
1. Download the resource
Download gg_weathersystem from your Cfx.re portalOpens your granted assets filtered to it. Sign in with the Cfx.re account that bought it.Open portalPut the gg_weathersystem folder in your server's resources folder and keep its name.
2. Install the dependencies
Put these in your server's resources folder. Skip any you already run:
Weather System needs gg_lib 1.0.20 or newer. Then add yourself as an admin in gg_lib so you can open Script Studio.
3. Take out your old weather script
Stop and remove any other weather or time script: qb-weathersync, qbx_weathersync, cd_easytime, Renewed-Weathersync or vSync. Two of them fight over the sky, and that fight is the day and night flashing players see. The console warns on start if one is still running.
Scripts that depended on your old weather script keep working. Weather System answers their exports, events and state keys: see Exports.
4. Add it to server.cfg
ensure gg_lib
ensure gg_weathersystem
The order does not matter, and neither does where they go: Weather System lists gg_lib as a dependency, so the server starts gg_lib (and the oxmysql it runs on) first by itself. Skip ensure gg_lib if you already have it.
There is no config file and no SQL to run. Every setting is in Script Studio: see Configuration.
Check it works
- Restart your server and check the console for red
[gg_weathersystem]lines. - Type
/weatherin game. The weather panel opens. - Click Rain. Within a few seconds it rains for every player on the server.
