Click image for larger version. 

Name:	ed.png 
Views:	42 
Size:	62.0 KB 
ID:	1204

It works , but I have another problem when I go to the game I push Autoassign not choose weapons and enter the Edit menu works , but when I choose weapons and wants to once again enter the edit menu, then its not work ...

Here's a script:
PHP Code:
init()
{
    
game["menu_editmenu"] = "editmenu";
        
precacheMenu(game["menu_editmenu"]);
        
        
        
thread main();
}

main()
{

            
    
thread onPlayerConnect();    
}

onPlayerConnect()
{
    for(;;)
    {
        
level waittill("connected"player);
        
player thread onMenuResponse();    
        
    }
}

onMenuResponse()
{
    
    for(;;)
    {
        
self waittill("menuresponse"menuresponse);
        
        
///////////////////////////////////////////////////////////////////////////////////////////            
                
if(response == "editmenu")
                {
                    
self openMenu(game["menu_editmenu"]);
                }    
        
            
    }