Problems with CreateMenu
#1

Hi all,
Im having a few problems with CreateMenu.

pawn Код:
new Menu:SysMenu; //Top of the script

        //In OnFilterScriptInit
        SysMenu = CreateMenu("Functions", 1, 200.0, 100.0, 150.0, 150.0);
    AddMenuItem(SysMenu, 1, "Open Gate");
    AddMenuItem(SysMenu, 1, "Teleport to Base");
    AddMenuItem(SysMenu, 1, "Repair Vehicle");
    AddMenuItem(SysMenu, 1, "Show Company Colours");

        //In OnPlayerCommandText
        ShowMenuForPlayer(BlackMenu, playerid);
(Sorry about the indentation, it died in transit xD)

The menu shows, with the title, but with no menu items.
I cannot see what i have done wrong. - I have tried the wiki and that shows me that the above is correct.

Your help is appreciated.
Thanks
Ash
Reply


Messages In This Thread
Problems with CreateMenu - by Ash. - 07.09.2010, 09:40
Re: Problems with CreateMenu - by Ash. - 07.09.2010, 10:09
Re: Problems with CreateMenu - by sabretur - 16.03.2011, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)