AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Compare the time (https://forums.alliedmods.net/showthread.php?t=140313)

Javivi 10-10-2010 16:08

Compare the time
 
Hi.

I want to save in my db the current time + 2 hours and then don't let play anyone until current time >= saved time. I tried some things but I have some problems when the current time is 22/23:XX.

Anyone knows a good way to do that ?

Thanks!


Solved.

fysiks 10-10-2010 16:38

Re: Compare the time
 
Quote:

Originally Posted by Javivi (Post 1321453)
Hi.

I want to save in my db the current time + 2 hours and then don't let play anyone until current time >= saved time. I tried some things but I have some problems when the current time is 22/23:XX.

Anyone knows a good way to do that ?

Thanks!

What did you try and what problems did you have. You should have posted the answers to both my questions when you started the topic.

Javivi 10-10-2010 17:46

Re: Compare the time
 
Quote:

Originally Posted by fysiks (Post 1321492)
What did you try and what problems did you have. You should have posted the answers to both my questions when you started the topic.

The problem was that I didn't check one thing :P.

/solved


All times are GMT -4. The time now is 10:19.

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