Belgorod is not acepted value for city
look for your city in this link
The latest version shows this error in console: SCRIPT ERROR: @luck-weathersync/server.lua:26: attempt to index a nil value
Are you set api key?
SCRIPT ERROR: @weathersync/client.lua:254: attempt to index a nill value (field ?)
How to fix?
is there actually a fix for the error attempt to index a nil value ???
Can you print weatherTypee on event and post it?
SCRIPT ERROR: @weathersync/client.lua:254: attempt to index a nill value (field ?)
that’s just the error why the script doesn’t really run
Because the api add the new types of weather, i was add all of weather types, i will update it soon.
I look the api doc and nothing changed, do you paste your api key to server config? If you paste just type print(weatherTypee) on top of weatherType = weatherTypes[weatherTypee].type and share the result with me please.
So I did that with the print now the error message is missing and the message is shown script: weathersync 1003
Edit: ok now the error appears again and gets the number 1009
Can you change client with this?
yes I can do it and then see if everything works?
There is the same number for two different weather types.
[1150] = {
type = “FOGGY”,
rain = -1,
},
[1150] = {
type = “RAIN”,
rain = 0.2,
},
hello so I was wondering will this interfer with vmenu weather and time?
Edit: just realized it includes irl time of the city
Hello, the script works great, but there is a problem. after i start the resource and join in the game Mouse movement dont work (camera move). how i can fix that?
I do not use any kind of nui or camera thing, it’s impossible.
i added this into my server but its not actually changing the time or weather can someone help me
Link off.
New Link ? Because is off