AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   How do you pause a timer for client? (https://forums.alliedmods.net/showthread.php?t=340769)

JLmelenchon 12-08-2022 08:22

How do you pause a timer for client?
 
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?

LinLinLin 12-08-2022 15:04

Re: How do you pause a timer for client?
 
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.

Marttt 12-08-2022 15:44

Re: How do you pause a timer for client?
 
Use a database to store/retrieve this kind of information


All times are GMT -4. The time now is 17:51.

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