goodiewarrior Posted August 22, 2016 Share Posted August 22, 2016 Hello, so I am working on a script and I'm facing this problem. - I use a timer in client-side supposed to end in 200 seconds, and it really ends in more than 200 seconds, actually! I guess it's because of client-side PC? How can I sync this with a: -Serverside timer I also use, for the same time? I thought about using setElementData and then getting the time on the client-side or something like that, but not very efficient... Link to comment
xXMADEXx Posted August 22, 2016 Share Posted August 22, 2016 What exactly do you need to sync the timers for? There should be a better, more efficient way than trying to sync a client and server timer. If you really need to, you could just use either triggerClientEvent/triggerServerEvent every second to sync. Link to comment
goodiewarrior Posted August 23, 2016 Author Share Posted August 23, 2016 What exactly do you need to sync the timers for? There should be a better, more efficient way than trying to sync a client and server timer. If you really need to, you could just use either triggerClientEvent/triggerServerEvent every second to sync. Because the client timer goes wrong (reaches 200 seconds in 215 for example) I need a timer too in server to check it it is correct... So I wanted to fix that clientside? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now