FearlessStudios
FiveM ScriptsPaid Scripts

FS-Weather

Give players the same weather and game clock, and let staff control conditions from an in-game dashboard.

Before you install

Install oxmysql and FS-Lib. Disable other scripts that control time or weather before testing. You only need FS-Blackout for the optional storm blackout integration.

Installation

Copy the release

Put the built FS-Weather folder into resources. Keep its packaged sql folder.

Start the dependencies first

server.cfg
ensure oxmysql
ensure FS-Lib
ensure FS-Weather

On startup, FS-Weather attempts to create or migrate its tables. If it can’t, follow Database setup.

Check what two players see

Open /weather on one account. Compare the weather and clock with a second player. If you restrict access, repeat the test on an account that has your configured permissions.

What do you want to do?

What's new in v1.0.4

  • Choose any supported startup weather type.
  • Keep startup weather fixed with no forecasts using Config.DefaultFreezeWeather.
  • Improved weather syncing, transitions, and automatic recovery.
  • Fixed forecast timing, freeze/resume countdowns, and saved sequence restoration.
  • Improved recovery from database failures and corrected daylight saving time calculations.
  • Added client clock overrides for character creators and other local scenes.
  • Updated default weather chances: rain is 2%, thunder is 1%, and NEUTRAL is excluded from random selection.
  • Added /weatherdebug and fixed dashboard permission updates.