Detect passed time
Sorry for the title but I dind't find a good one.
1.How can I detect passed time from a vote ? I have a vote plugin. Let's say that I start a vote. How ca I verify the time passed and block a new vote for x minutes. This is: Now you start the vote,you can start it again after 20 minutes. 2.How can I make a menu/public to execute after a certain time ? |
Re: Detect passed time
1. Add this as a global variable:
Code:
Code:
Code:
2. Please explain further, I don't understand. |
Re: Detect passed time
1.
Code:
2. certain time? every X o'clock ? every X minutes passed after the last vote ? |
Re: Detect passed time
2.Let's say that I have a menu. I want the menu to aotomatically appear in 3 rd round.
|
Re: Detect passed time
PHP Code:
|
Re: Detect passed time
Use HLTV message to count round and if count == 3, show menu.
|
| All times are GMT -4. The time now is 06:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.