This project provides a customizable weather synchronization system for a FiveM server. It includes both client-side and server-side scripts to manage dynamic weather changes and administrative controls.
- Dynamic Weather Changes: Automatically updates the weather every 10 minutes (configurable).
- Manual Weather Control: Admins can override automatic settings and set specific weather conditions.
- Blackout Mode: Toggle blackouts for dramatic gameplay effects.
- Time Manipulation: Adjust in-game time and freeze/unfreeze time dynamically.
-
Download the Files:
vSync.rar
-
Add to Server Resources: Place the files in your FiveM
resourcesdirectory. -
Update
server.cfg: Add the following line to your server configuration file:ensure vSync
-
Edit Configuration: Modify the
adminstable inserver.luato include the appropriate identifiers for your server admins. Uselicense,steam, orfivemidentifiers.
- Admin List:
Edit the
adminsarray to include identifiers of users who can control weather and time.
admins = {
'license:YOUR_LICENSE_HERE',
'steam:YOUR_STEAM_HERE',
'fivem:YOUR_FIVEM_HERE',
}