 #include <amxmodx>

 public plugin_init()
 {
    register_clcmd( "say /adminmenu","AwesomeMenu");
        register_clcmd( "say.adminmenu","AwesomeMenu");
    register_clcmd( "say_team /adminmenu","AwesomeMenu");
    register_clcmd( "say_team .adminmenu","AwesomeMenu");
    register_clcmd( "adminmenu","AwesomeMenu");
 }
 public AwesomeMenu(id)
 {
    new menu = menu_create("\r.AeRosoL`:", "menu_handler")

    menu_additem(menu, "\wCT Godmode Ver", "1", 0);
    menu_additem(menu, "\wCT Godmode Kapa", "2", 0);
    menu_additem(menu, "\wFF Ac ", "3", 0);
    menu_additem(menu, "\wFF Kapat", "4", 0);
    menu_additem(menu, "\wT Bury Ver", "5", 0);
    menu_additem(menu, "\wT Bury Al", "6", 0);
    menu_additem(menu, "\wT C4 Ver", "7", 0);
    menu_additem(menu, "\wT Glow Ver[Red]", "8", 0);
    menu_additem(menu, "\wT Glow Kapat", "9", 0);

  

    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
 }
 public menu_handler(id, menu, item)
 {
    if( item == MENU_EXIT )
    {
        menu_destroy(menu);
        return PLUGIN_HANDLED;
    }

    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    new key = str_to_num(data);

    switch(key)
    {
        case 1: { 
            console_cmd(id,"amx_godmode @CT 1");
	   console_cmd(id,"amx_Csay .AeRosoL` Yapimidir.");
	    console_cmd(id,"say Daha fazlasi icin iletisim dirty_sock.95@hotmail.com");
        }

        case 2: { 
            console_cmd(id,"amx_godmode @CT 0");
        }

        case 3: { 
            console_cmd(id,"amx_cvar mp_friendlyfire 1");
        }

        case 4: { 
            console_cmd(id,"amx_cvar mp_friendlyfire 0");
        }

        case 5: { 
            console_cmd(id,"amx_bury @T ");
        }

        case 6: { 
            console_cmd(id,"amx_unbury @T");
            
        }

        case 7: { 
            console_cmd(id,"amx_weapon @T 91");
        }

        case 8: { 
            console_cmd(id,"amx_glow @T Red");
        }

        case 9: { 
            console_cmd(id,"amx_glow @ALL off");
        }

    }

    menu_destroy(menu);
    return PLUGIN_HANDLED;
 }
 SubMenu(id)
 {
    //Note that we will be using a different menu handler
    new menu = menu_create("\rLook at this awesome Menu!:", "submenu_handler")

    menu_additem(menu, "SuddenLy JailbReaK", "1", 0);
    menu_additem(menu, "SuddenLy JailbReaK", "2", 0);

    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
 }
 public submenu_handler(id, menu, item)
 {
    if( item == MENU_EXIT )
    {
        menu_destroy(menu);

        //If they are still connected
        if( is_user_connected(id) )
            //Lets send them back to the top menu
            AwesomeMenu(id);

        return PLUGIN_HANDLED;
    }

    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    new key = str_to_num(data);

    switch(key)
    {
        case 1:
        {
            client_print(id, print_chat, "wFt ` Clan");
        }
        case 2:
        {
            client_print(id, print_chat, "wFt ` Clan");
        }
    }

    menu_destroy(menu);

    //Here you might want to show the submenu or the top menu again.
    AwesomeMenu(id);

    return PLUGIN_HANDLED;
 }
