Finally I used that (without bitmap) but I get what I wanted
But I still have problems to center the Text :/PHP Code:CTFParams.show();
EventsControlProfile.hide();
new GuiControlProfile("EventsControlProfile")
{
opaque = true;
border = 1;
borderColor = "0 0 0";
fillColor = "57 57 57";
}
new GuiControl("CTFParams") {
extent = "300 200";
profile = "EventsControlProfile";
canMove = true;
canResize = canMaximize = canClose = false;
alpha = 1;
new GuiControl("CTFParamsControl2") {
useownprofile = true;
profile.opaque = true;
profile.border = 1;
profile.borderColor = "0 0 0";
profile.fillColor = "37 37 37";
extent = "300 40";
canResize = canMaximize = canClose = canMove = false;
new GuiTextCtrl("Test_Text") {
useownprofile = true;
profile.opaque = true;
profile.border = 1;
profile.borderColor = "0 0 0";
profile.justify = "center";
profile.fontColor = "255 255 255";
profile.fontSize = 18;
extend = "300 40";
text = "CTF Settings";
}
}
}





Reply With Quote