vSync (v1.4.0) | Simple weather and time sync

I will try and get a recording when I have time. The only resource I have that would conflict is vMenu but I have disabled weather and time sync in that. I don’t have any client side mods and have a 200mb connection with 30-60 ping to my server. Caches have been cleared on the server and client.

Thank you for this lovely script. However tho the only problem that i have is it seems to rain almost every night. Rain is good every 3 days or so but it seems to me that it rains every other day/night.

If you go to the server script file, then to the following lines: https://github.com/TomGrobbe/vSync/blob/master/vSync/vs_server.lua#L327-L360 you’ll be able to change the math.random(min,max) values and reduce the chance of rain by increasing the max, and only allowing rain when it is 1 of those numbers, all other numbers being divided over other weather types.

How do you install it

Where on the site
(2020)

Install it just like any other resource, and then add your hex IDs.

Installing a Basic Resource - [How-to] Install a FiveM resource / Script

you just paste the steam community page link or the steam name of the person in the top right and on the overview it should show you "Steam3 ID (64BIT ) " and then you take the one that says “Hex” next to it

Thanks alot dude
(20)

is there a way to change the weather time change? because it is default to 10mins but i want to change it to like 30 or 40 mins thanks

when i install it i keep getting… couldn’t load Resource vSync any ideas how to fix please?

Did you install it in /resources/vSyn/vSync/? If so, move everything from the second vSync folder to the first one.

Also, the weather changes timer should be in the server file, not sure if there’s a way to easily configure it but you can edit the code to wait longer.

i have it in the resources like this - https://gyazo.com/f88186c8b5fe0e7c0b8e287fce48770a
then in the vSync folder contains these - https://gyazo.com/84e48a7ef7ccc5664bafb098928e03be

Alright in that case try clearing your server cache once, and restart your server at least twice before trying to join.

Everytime I try and use a command it does not return with a message, for instance I type /night all it says in chat is /night"

Got a custom chat resource? It probably doesn’t support the RegisterCommand native… in which case you should type the commands in the F8 console instead but remove the ‘/‘ from the command.
So just type ‘night’ or ‘time 5 15’

the screen somehow blinks, how to fix it?

Disable any graphics mods

Its possible to work this with cron? I mean at 12.00 in real life trigger ‘’/time 12 0’’ and then ‘’/freezetime’’ until 13.00?
Maybe it’s a bit crazy, but it has crossed my mind

hm not sure if its exaclty what youre lookin for but take alook at the example at the end here :

technicly you should be able to implement that variable to a degree to the script time , might be totally off but meh xD

you’ve probably already answered this but why does it flash/blink when I have vSync on its almost like its trying to turn to a different weather option but then goes back then repeats