Raised This Month: $51 Target: $400
 12% 

How do you pause a timer for client?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 12-08-2022 , 08:22   How do you pause a timer for client?
Reply With Quote #1

Let's say that a timer for the client start when he disconnect from the server, how can i pause it at the state it is currently if the player come back and resume it when he leaves again?

Last edited by JLmelenchon; 12-08-2022 at 08:22.
JLmelenchon is offline
LinLinLin
Senior Member
Join Date: Sep 2021
Old 12-08-2022 , 15:04   Re: How do you pause a timer for client?
Reply With Quote #2

No way to pause a timer and this operation will make the server become instable if you run the server long enough. Too much handle will be created.
LinLinLin is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 12-08-2022 , 15:44   Re: How do you pause a timer for client?
Reply With Quote #3

Use a database to store/retrieve this kind of information
__________________
Marttt is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode