View Single Post
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-24-2006 , 20:40   Re: New AMXX Menu System
Reply With Quote #3

Code:
    switch(key)     {         case 1:{             client_print(id, print_chat, "Hooray! You selected the Awesome 1st Selection")             //note that if we dont want to continue through the function, we can't just end with a return. We want to kill the menu first             menu_destroy(menu)             return PLUGIN_HANDLED         }         case 2:{             client_print(id, print_chat, "OH NO! You selected the Awesome 2nd Selection! BEWARE!")         }         case 3:{ //again i don't have experience with the admin limitations, so i don't know if you need to have a check before this (im assuming you don't though ^_^)             client_print(id, print_chat, "You have selected the Awesome Admin Selection! Hail Teh Bail!")             menu_destroy(menu)             return PLUGIN_HANDLED         }     }

Using two different styles now are we?
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline