[Release] Dynamic Timer and climate

Hello,

Im launching my first resource for free, i used this resource on my server: Brasil Play Acton, its a simple one, he just adds up a realife timer to the server and sync it will all players based on the timezone you select.

It also comes wit a dynamic climate change, you can configure the timer of the change on jns_server.lua, the default its: 120 minutes (2hrs) to change the climate of the server.

See:

preview

Download:

7 Likes

ummm…Pretty cool…

Seems cool, however, I can’t understand exactly how to change the time in script.js file?

change moment.locale(“pt-BR”); to the location of our server. Ex: moment.locale(“en-US”);

See more there: https://momentjs.com/docs/

You planning on making commands to change the weather?

1 Like

This is cool I wish there was a script where you do like /time (player Id) and it shows how long he has been playing on the server for exemple Fasy played on (server name) for 248 hours

There is, right here.

No, i don’'t, this is already a Vsync feature.

is there a way to just keep this without the weather thing :slight_smile:

preview

Comment this line:

Citizen.CreateThread(function()
while true do
Citizen.Wait(60000)
TriggerClientEvent(‘JNS:updateWeather’, -1, CurrentWeather)
end
end)

How do i change the name to my server in the files?

how do i remove a weather like fx snow

hello ,my timezone is +8, but my cmd give me this

Error parsing script @dynamic-timer/jns_server.lua in resource dynamic-timer: @dynamic-timer/jns_server.lua:29: unexpected symbol near ‘+’

so i don’t know how to fix it

If I want the day, night, and time runs in the game, can I fix it?

Lmao For Free

How do i set a picture/logo instead of text?