[Release] Dynamic Timer and climate


#1

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:


How to get the top in the text
#2

ummm…Pretty cool…


#3

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


#4

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

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


#5

You planning on making commands to change the weather?


#6

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


#7

There is, right here.


#8

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


#9

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

preview


#10

Comment this line:

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


#11

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