Quote:
Originally Posted by Crow
Controls are added to GraalControl by default. I'd be very grateful if you could just stop posting about things you apparently don't know jack about.
|
Controls are only added to GraalControl by default if you do:
PHP Code:
new GuiShowImgCtrl("SomeImg") {
x = 50;
y = 50;
width = 71;
height = 96;
image = "era_sam_hiddencard.png";
visible = true;
}
But, if you do it like the OP and create a GuiShowImgCtrl object first, then set it's attributes you have to add it to GraalControl manually:
PHP Code:
temp.guiImage = new GuiShowImgCtrl("SomeImg");
guiImage.x = 50;
guiImage.y = 50;
guiImage.width = 71;
guiImage.height = 96;
guiImage.image = "era_sam_hiddencard.png";
guiImage.visible = true;
// Will not show!
Test it yourself. I'd be very grateful if you'd stop being totally arrogant and obviously you are the one who has no idea in this case.