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

@Super_Cool_Mand and also pretty much everyone else, if you want to add ppl to the admin list you can also just check here for the HEX ID :
http://vacbanned.com/

might be a bit easier then ruffling through server files sometimes =)

Does this script change the speed of the weather in anyway? The clouds/sun/moon seem to jump across the sky rather than move smoothly.

This could be cause if you have a laggy connection, or bad fps/something else is slowing down your client. Or you could have another weather/time resource/client mod running that conflicts. Could really be caused by a lot of things, do you have a small screen recording example?

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