Jump to content
Sign in to follow this  
marker

Running a script at an exact time. Server time?

Recommended Posts

Hi guys.

Is the a way to run a script at say exactly 12pm according to the server, not in game time?

I know we can grab game time using daytime, but with server fps lag etc it would usually be out and the script would need to be called within a 15 minute window.

Cheers

Share this post


Link to post
Share on other sites

The last time I saw something similiar to your question was a custom schedular which executed a set of scripts every 15 minutes (in real time, not ingame time).

They used an extension and called it regularely to synchronize the daytime with the real time.

This is a rather clumsy way but hey, it worked great :D

The corresponding commands:

callExtension

Extensions

I hope there are other means to do this though ^^

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×