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

What would one have to do to not make it rain so much? I love the random weather but it seems like it rains all the time, id rather it be a little more random not rain as much… was looking at it, and im scared ill break something lol

Idk where do i do that

1 Like

vs_server.lua (line 3) make sure you are an admin by placing your steam hex in…

admins = {
    'steam:110000105959047',
    --'license:1234975143578921327',
}

Ooh ok will try thanks

Next weather selections should be at the bottom of the server file iirc. You can change some numbers there to make rain less likely to happen. I’ll be making some changes in the future allowing you to define custom %/chances for certain weather types.

2 Likes

Alright thanks…

dosent work
(20 char)
is it right?

Hi guys i have a noob question :slight_smile:
How can i make a real time? So the game time equal server time.

You need your steam hex id. Not the decimal one.
Join your server and go to <ip>:<port>/players.json in your browser and you’ll find the correct identifiers for your player.

There’s no option for that atm, because the current setup syncs it’s time to GTA:O by default. And there’s no way atm to slow down or speed up time.

Where do i find that?

Where do i find all that

You don’t know your server IP? Well can’t help you with that. If it’s on your pc then use localhost if not, then you’ll need to figure it out yourself.
The port is 30120 by default.

The IP to join?
(2020)

Yes.

Ok i but player.json?

And if I use this:
-Server side: os.date(’*t’)
-Cliens side: Every second or more i will Trigger the set time.

Just an idea…

You should basically rewrite this whole resource in that case. But it’s possible.

Are you retarded?
http://<ip>:<port>/players.json

No just didnt know i was supposed to do it like that thanks