Menu Handler
Code:
public Show_DayMenu() |
Re: Menu Handler
Not quite sure what you are trying to say is actually happening but there are some major logical errors in that code.
What exactly are you trying to do? |
Re: Menu Handler
Sorry, I'm trying to make a votemenu, where there are about 10 different options and then there's a 10 second countdown when the vote ends. Only CT's can choose options, and they can only choose once.
|
Re: Menu Handler
Replace that whole code block that you posted with this:
PHP Code:
|
Re: Menu Handler
The voting works fine, but the counting down doesn't work correctly. It updates the time remaining only after you choose after the menu options, so it would stay on 5 or 6 until you press a menu option and it updates.
|
Re: Menu Handler
Quote:
You should be able to do this: PHP Code:
|
Re: Menu Handler
K, so now the countdown and vote works fine, but after I have voted, and whenever the countdown goes down by 1, it says "You have already voted.". So basically if I vote when the countdown is at 7, it shows "You have already voted" 6 times. (7 - 1)
I'm pretty sure it's calling the menuhandler function whenever the countdown goes down, but I'm not sure how to fix that :/ |
Re: Menu Handler
Quote:
PHP Code:
i think |
Re: Menu Handler
Thanks, works perfect now.
<3 (NO HOMO) |
Re: Menu Handler
Quote:
|
| All times are GMT -4. The time now is 20:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.