Are you using another time/weather sync resource? If so, disable that one.
I have ACL-Fx and I removed it but I need that to turn on and off traffic unless u got another one you can suggest?
vBasic can do that, but you’d have to restart the server if you want to change the traffic density.
yea I mean I want to just have it like in rcon
When I try to change the weather it glitches between changed and unchanged. Help?
I have a mod menu on the server, no weather changing ones.
do you have another weather / time sync script in your server?
So you have ACL installed? That’ll do it.
What’s ACL?
And no I don’t have any other weather changing scripts.
Do you have any trainers installed?
Yes the simple trainer
and vMenu which is server sided
Did you disable vMenu’s weather and time sync?
can i make it work with custom chat resource? mine is not
Custom chat resources are not supported if they do not support RegisterCommand. You’ll have to edit the chat resource to support it or use the F8 console to run the commands (without the leading /
).
v1.3/v1.4 download update
My last post somehow contained the v1.3 version, instead of the correct v1.4 update. This is now fixed both on github as well as in my previous post. I’ve also added it to this post so you don’t have to scroll up and look for it.
vSync-1.4.0.zip (9.4 KB)
how can i make this so anyone can use it
Simplest way is to go to the vs_server.lua file and change this function (line ~52). Change it from this:
function isAllowedToChange(player)
local allowed = false
for i,id in ipairs(admins) do
for x,pid in ipairs(GetPlayerIdentifiers(player)) do
if debugprint then print('admin id: ' .. id .. '\nplayer id:' .. pid) end
if string.lower(pid) == string.lower(id) then
allowed = true
end
end
end
return allowed
end
To this:
function isAllowedToChange(player)
return true
end
That way anyone will be able to use it no matter what.
i cant change the weather it just says acces denied for /time 14 00
Are you sure you added the identifiers correctly?