Author Topic: How do I make more boxes with a GUIpopup Menu.  (Read 559 times)

I cant for the life of me figure out how to add multiple boxes in the GUIpopup menu


GuiControl.add("My Text", ROW_ID);
This will add it to the bottom of the list.

GuiControl.addFront("My Text", ROW_ID);
This will add it to the top of the list.

ROW_ID does NOT represent the it's order in the list(unless you choose to do it that way) and is used in the functions GuiControl.getTextByID(ROW_ID); and GuiControl.setSelected(ROW_ID);

GuiControl.add("My Text", ROW_ID);
This will add it to the bottom of the list.

GuiControl.addFront("My Text", ROW_ID);
This will add it to the top of the list.

ROW_ID does NOT represent the it's order in the list(unless you choose to do it that way) and is used in the functions GuiControl.getTextByID(ROW_ID); and GuiControl.setSelected(ROW_ID);
I suppose the ID is custom and can contain names not only numbers?

Looks like it's an engine function that only accepts integers for an id.