menu for x secondes
Hi all.
Can someone show me a way to make a menu show up only for x secondes then it disppear. Example : when new round begin the menu will show up only for 20 secondes and then it will be disppear until next round. |
Re: menu for x secondes
Set a task when menu is displayed, use menu_destroy when 20 seconds have passed.
|
Re: menu for x secondes
You should use a global variable for do it.
|
Re: menu for x secondes
If you're using AMXX 1.8.3, there's no need for any of that.
|
Re: menu for x secondes
@OciXCrom, no i am using AMXX 1.8.2
|
Re: menu for x secondes
Oh god, I'm in phone but let's GO:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: menu for x secondes
i already have menu any other way to do this without update all of it.
|
Re: menu for x secondes
I don't see how that would work. What will happen if 2 players open the menu at once? Same global variable, menu will get destroyed when the timer for the first player is over.
|
Re: menu for x secondes
You want to show an empty menu to hide the previously shown one, destroying a menu object doesn't do what you are expecting it to.
|
Re: menu for x secondes
i just want the menu to show for only period of time from the begin of new round.:/
|
All times are GMT -4. The time now is 17:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.