DisableMenu
Leírás: letiltja az adott menüt
Paraméterek:
(Menu:menuid)
Menu:menuid A menü IDje
Visszatérés: -
Példa
new WeaponMenu;
WeaponMenu = CreateMenu(\"Weapons\", 1, 50.0, 180.0, 200.0, 200.0);
AddMenuItem(WeaponMenu, 0, \"Rocket Launcher\");
AddMenuItem(WeaponMenu, 0, \"Flamethrower\");
AddMenuItem(WeaponMenu, 0, \"Minigun\");
AddMenuItem(WeaponMenu, 0, \"Grenades\");
if(!strcmp(cmdtext, \"/disableguns\", true))
{
DisableMenu(WeaponMenu); //Disable the weapon menu
return 1;
}