Raised This Month: $ Target: $400
 0% 

problem witch a menu(n00b)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-12-2009 , 21:15   Re: problem witch a menu(n00b)
Reply With Quote #7

i think im to late, but maybe this willbe help

PHP Code:
public menuletras(id)
{
    new 
menu menu_create("\rQuieres que las balas te empujen?""mostrar_menu")
    
    
menu_additem(menu"\wSi""1"0)

    
menu_additem(menu"\wNo  \y(Esta opcion cuesta 10 Ammo Packs)""2"0)
    
    
menu_setprop(menuMPROP_EXITMEXIT_ALL)

    
menu_display(idmenu0)
}

public 
mostrar_menu(idmenuitem)
 {
    if( 
item == MENU_EXIT )
    {
        
menu_destroy(menu);
        return 
PLUGIN_HANDLED;
    }
    new 
data[6], iName[64];
    new 
accesscallback;

    
menu_item_getinfo(menuitemaccessdata,5iName63callback);

    new 
key str_to_num(data);
   
    switch(
key)
    {
        case 
1:
        {
            
//do
        
}
        case 
2:
        {
            
//do
        
}
    }
    
menu_destroy(menu);
    return 
PLUGIN_HANDLED;
 } 
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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


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