So like a dropdown menu?
Yup. But the GUIPopupMenuProfile shows some random objects.
for(%i=0;%i<datablockGroup.getCount();%i++){%obj = datablockGroup.getObject(%i);if(%obj.getClassName() $= "fxDTSBrickData"){GUINAME.add(%obj.uiName);}}creates a dropdown menu of all the brick UI names
Is that the code I gave you? B)
FYI that'll only work for the server host. Try it on a dedicated server and you'll see what I mean.
clear();add();
Code: [Select]clear();add();Solved.
%list = CONTROL_NAME;
%list.addRow(ROW_NUMBER, "WORDS");
%list.clear();