PHP Code:
new GuiContextMenuCtrl("Options_Menu") {
profile = "Necro_TextEdit";
textprofile = "Necro_Text";
text = "Options";
width = 20;
clearRows();
bringtofront();
addRow(0, "Options");
addrow(-1, "-");
for (temp.I = 0; temp.I < thiso.options.size(); temp.I++)
{
addRow(temp.I + 1, thiso.options[temp.I]);
}
open(mousescreenx, mousescreeny);
}
}
function Options_Menu.onSelect(entryid, text) {
player.chat = text;
}
Above worked just fine for me.
Quote:
Except I can't click any of the options because oddly one of these other GUI's isn't allowing it and won't let the Context GUIctrl grab focus/activity.
|
If that typo was what you were using that would stop it from doing anything because it wasnt reading the right gui obj name for the selection.