Saving Menu Variables
Hello, this is part of the code for my menu, once this part of the menu is called, i want the variables in the menu to be saved, onto the menu keys, and onto the next menu, and so forth...
I want the "Mage,SelectedPlayers,PlayerSelecter,ExpG od" To be saved onto the keys and following menus that are called instead of just the regular (id,keys) This is my attempt at doing that.... Code:
But it gives me an argument error at the "show_menu" line when I compile :( So my questions is how, do I save multiple variables in the menus? Edit: Hmm more explaining... I want only the person who pressed the menu to see the menu(playerselecter), but i want the other 3 player variables (mage, expgod, selectedplayers) to be saved as well.. So that in the next menus i can also do things like get_user_authid, get_euser_exp, get_euser_level, etc on the variables! Thanks! |
Re: Help- Saving Menu Variables
WTF!? You can't do it like that! You have to loop it!
I suggest you read through some kinda manual. Code:
|
Re: Help- Saving Menu Variables
That would make it so only the person who used the menu sees the menu, but it would save the other 3 variables right?
|
Re: Help- Saving Menu Variables
This really looks like its going to send the menu to EVERYONE in the variables instead of just 1 person the menu should go to :(...
|
Re: Help- Saving Menu Variables
Well, wtf do you mean by this then?
Explain exactly what this does. PHP Code:
|
Re: Help- Saving Menu Variables
Yes I know that makes no sence, but it was the only way I could think of to describe what im trying to do...
I want the menu to only go to 1 person ( the person who selected the menu ), but I want the other 3 variables saved, so I can perform commands on them! This is what you gave me... Code:
Which does not give me what I need at all. :( Not only is the menu going to all 4 people, but now i can't access the variables! I cant do.. Code:
or... Code:
This last one describes more what im trying to do... I want the menu to only go to 1 person, but I want the 4 variables saved so I can still access them to perform commands on them! Thanks if you can help! |
Re: Help- Saving Menu Variables
You're supposed to be banned.... Go away.
|
Re: Help- Saving Menu Variables
-Karma'ed and Flamed for no reason?
Seems to me YOU should be banned... Get the hell off my thread! Mod! Delete him! >.< |
Re: Saving Menu Variables
Code:
I tryed this too ... But it says unknown command Mage unknown command SelectedPlayers unknown command PlayerSelecter unknown command ExpGod Can someone please help me with this? |
Re: Saving Menu Variables
Quote:
See post here OmgHi's Reply |
| All times are GMT -4. The time now is 00:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.