Raised This Month: $ Target: $400
 0% 

Menu Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 11-07-2009 , 15:55   Re: Menu Help
Reply With Quote #10

+1 fail.
PHP Code:
public view_menu(id) {    
new 
hMenu menu_create("Top 10 Menu:""hMenu_handler");
menu_setprophMenuMPROP_PERPAGE);

menu_additemhMenu"LongJump Top""1", );
menu_additemhMenu"CountJump top""2", );
menu_additemhMenu"Bhop Top""3", );
menu_additemhMenu"Stand-Up Bhop Top""4", );
menu_additemhMenu"WeirdJump Top""5",);
menu_additemhMenu"Double CountJump Top""6", );
menu_additemhMenu"Multi CountJup Top""7", );
menu_additemhMenu"Ladder Drop Bhop Top""8", );
menu_additemhMenu"LadderJump Top^n""9", );
menu_additemhMenu"Exit""*", );

public 
MenuHandleriPlayerhMenuiItem ) {
    if( 
iItem == MENU_EXIT ) {
         goto 
exit_menu;
    }

    new 
iAccessszInfo], hCallback;
    
menu_item_getinfohMenuiItemiAccessszInfo2__hCallback );


if ( 
szInfo] == '*' ) goto exit_mnenu;
if ( 
szInfo] == '1' ) goto ljten_show(id);
if ( 
szInfo] == '2' ) goto cjten_show(id);
if ( 
szInfo] == '3' ) goto bjten_show(id);
if ( 
szInfo] == '4' ) goto sbjten_show(id);
if ( 
szInfo] == '5' ) goto dcjten_show(id);
if ( 
szInfo] == '6' ) goto topten_show(id);
if ( 
szInfo] == '7' ) goto wjten_show(id);
if ( 
szInfo] == '8' ) goto lbjten_show(id);
if ( 
szInfo] == '9' ) goto lajten_show(id);
      
        return;
       

exit_menu:
    
menu_destroyhMenu );

NucL3ra is offline
Send a message via Yahoo to NucL3ra
 



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 17:32.


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