Rat32 Posted October 2, 2016 Share Posted October 2, 2016 (edited) Hey. How to get server-sided timer details on clientside? // trigger not, because i use dxDrawText to draw this details. I need this value updated. Edited October 2, 2016 by Tasumi Link to comment
Bonsai Posted October 2, 2016 Share Posted October 2, 2016 You will need to use triggerClientEvent at least once. Then the client knows how much time was left at point X, so he can do the counting himself from that moment on. Something like: triggerClientEvent when Timer starts, store the value of getTickCount() inside the event, use getTickCount() - that value whereever you draw the time. 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