Raised This Month: $ Target: $400
 0% 

Menu Problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bwgrubbs1
Senior Member
Join Date: Sep 2006
Old 05-30-2007 , 16:56   Re: Menu Problems
Reply With Quote #2

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:
public rewards_fun(id) {         new key;     switch( key )     {             case '-':         {             return PLUGIN_HANDLED;         }         case '1':         {             //invincible             client_print(id,print_chat,"INVINCIBILITY COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '2':         {             //invisible             client_print(id,print_chat,"INVISIBILITY COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '3':         {                 //teleport             client_print(id,print_chat,"TELEPORT COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '4':         {                 //no clip             client_print(id,print_chat,"NO CLIP COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '5':         {             //hook             client_print(id,print_chat,"HOOK COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '6':         {             //low grav             client_print(id,print_chat,"LOW GRAVITY COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '7':         {             //parachute             client_print(id,print_chat,"PARACHUTE COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '8':         {                 //glow             client_print(id,print_chat,"GLOW COMMING SOON")             menu_display(id, rewardsMenu, 0);         }         case '9':         {                 //trail             client_print(id,print_chat,"TRAIL COMMING SOON")             menu_display(id, rewardsMenu, 0);         }     }         return PLUGIN_HANDLED }
bwgrubbs1 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode