Wonderlarr Posted May 11, 2021 Share Posted May 11, 2021 I'm trying to pass a timer on the server side to a client side hud, and I noticed there's no replica version of timer, is there a quick workaround for this? Link to comment https://forums.kleientertainment.com/forums/topic/129844-is-there-a-way-to-access-server-side-timers-on-the-clientside/ Share on other sites More sharing options...
Gleenus Posted May 11, 2021 Share Posted May 11, 2021 Take a look on Show Me (origin) code Since the timer only exists on server, you need to create a net_var to your character to pass the information Every time a net_var is updated in the server, it is automatically updated in the client So you can make your server update this net_var to the exact timer value every 1 second In the client, when you read this net_var, you will have the timer value provided from the server Link to comment https://forums.kleientertainment.com/forums/topic/129844-is-there-a-way-to-access-server-side-timers-on-the-clientside/#findComment-1459158 Share on other sites More sharing options...
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