Menu does only make first thing
Hello everybody,
I have a problem with my Glow Menu, I tried to change izzles Glow Menu so you can choose a color, but only first Color works, the others doesnt. PHP Code:
|
Re: Menu does only make first thing
Does work, but where is the menu where you choose the player who gets glowed?
I thought this was the problem. |
Re: Menu does only make first thing
Are you kidding me?
I want the Players Menu IN the Glow Menu so the Menu has this Order : 1) Choose Player 2) Choose Color 3) Glow Player |
Re: Menu does only make first thing
i'm kidding you ?
i have try to help you oh sorry for wasting your time maybe you should learn to exlpain a bit better what you want it seems you are kidding me i have better things to do...:down: :stupid: your're welcome and good luck |
Re: Menu does only make first thing
Well sorry, I tried to explain at good as I can.
This Menu does work almost perfect, but when I glow someone, he is only one that I can glow. I mean when I glow Player1 and want to glow Player2 after Player1, Player1 gets glow. PHP Code:
|
Re: Menu does only make first thing
So you don't want the menu with players list to disappear after you pick someone ?
|
Re: Menu does only make first thing
No, I wan't to glow Players which have been chosen in the menu before.
In the Code above, you can choose all players, but the first Person who gets glowed, is the only who gets a glow, even when I choose another player, like this : 1) Choosed Player X 2) Glowed Player X 3) Open Menu again, and choose Player Y 4) Want to glow Player Y but Player X get glowed. |
Re: Menu does only make first thing
You need to store selected players into an global array and then loop through it when you set the glow, also clear it when you trigger the glow so it won't glitch on the second use.
But your 1/2/3/3 thing explains a different thing... (I wasn't talking about your miscount) I can't help you with the code because I never used "new menu" functions. |
Re: Menu does only make first thing
I mean 1,2,3,4 sorry. ^^
Ok, thanks for help. |
Re: Menu does only make first thing
This:
PHP Code:
First, you should make an actual handler for your first menu that will cache the selected player's entity number into a global array and then call the second menu to be shown. PHP Code:
|
| All times are GMT -4. The time now is 20:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.