Thread
:
Is it possible to keep a timer alive during server hibernation?
View Single Post
Mitchell
~lick~
Join Date: Mar 2010
05-22-2018 , 11:57 Re: Is it possible to keep a timer alive during server hibernation?
#
7
Quote:
Originally Posted by
ambn
what i'm lookin for is a
sourcemod
way to make it right, so do you suggest anything?
GetTime() is a sourcemod function:
https://sm.alliedmods.net/new-api/sourcemod/GetTime
From what you explained you really don't need to have a timer do +1 to a variable every day when you can have the start time of the server save to a variable and subtract it from the current time to get the current uptime in seconds.
Mitchell
View Public Profile
Send a private message to Mitchell
Visit Mitchell's homepage!
Find More Posts by Mitchell