Destroy menu to all
I have a voting for something in the server, and when the vote ends people still get to look at the menu, until they press on a choice or choose MENU_EXIT. How can I destroy the menu to all the players? is there a function for it?
|
Re: Destroy menu to all
Loop through the players and use
PHP Code:
|
Re: Destroy menu to all
Quote:
|
Re: Destroy menu to all
Oh, because on the funcwiki it says player index between 1 and 32, so I didn't think 0 could be passed for all players.
My bad. |
Re: Destroy menu to all
|
Re: Destroy menu to all
Quote:
|
Re: Destroy menu to all
@nikhilgupta, what is the "^n" for?
|
Re: Destroy menu to all
Its for 'cleaning' the line, instead of adding some new text.
^n just change to next line, when you use that, the menu will be 'invisible' since its a new menu without anything showing. |
Re: Destroy menu to all
Quote:
|
| All times are GMT -4. The time now is 00:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.