Menu Problems
Can someone plz show me how to create a menu and read the input from the user and switch the key to go to different menus...i dont know what im doing wrong...well i do, but i dont know how to read what the user hits...here is what i have.
Code:
Code:
Code:
|
Re: Menu Problems
I get the main menu to come up if i type /rewards
Which rewards shall you purchase? 1. Admin Rewards 2. Player Rewards 3. Bunny Hop Rewards 4. Fun Rewards 5. Exit But when i hit a key it just exits out of the menu. Here is one of the Sub menus...not completed yet. Code:
|
Re: Menu Problems
Take a look at mapsmenu.sma and look at the function displayVoteMapsMenu as it contains this type of information. There are plenty of plugins that use menus to reference - just look around. Most of them are probably easier to read than mapsmenu :-).
Slmclarengt |
Re: Menu Problems
Take a look at my Jump Menu plugin: http://forums.alliedmods.net/showthread.php?p=214497
|
Re: Menu Problems
ok, well i still don't understand what I am doing wrong. I can get the main menu to show, but when i hit a key to go to a sub menu, it exits the menu...how do i make this go to the next menu?
|
Re: Menu Problems
nvm, i got it, did some searching around. thx tho your jump menu helped
|
| All times are GMT -4. The time now is 10:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.