Installation
Install Weather System, take out the old weather script, and start it in the right order.
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
These need to be installed and started before the script. 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
Add these lines in this order. Skip lines for resources you already start.
ensure oxmysql
ensure ox_lib
ensure gg_lib
ensure gg_weathersystem
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.
