not sure how to make whats in the text boxes display in rc.
PHP Code:
//#CLIENTSIDE
function onCreated() {
new GuiWindowCtrl("Report_Window1") {
profile = GuiBlueWindowProfile;
clientrelative = true;
clientextent = "333,141";
canmove = true;
canresize = true;
closequery = false;
destroyonhide = false;
firstresponder = "Editor_Button1";
text = "Worlds Connected Report Manager,by Fatel";
x = 318;
y = 67;
new GuiTextEditCtrl("Report_TextEdit1") {
profile = GuiBlueTextEditProfile;
height = 20;
width = 171;
x = 89;
y = 71;
}
new GuiTextEditCtrl("Report_TextEdit2") {
profile = GuiBlueTextEditProfile;
height = 20;
width = 80;
x = 125;
y = 29;
}
new GuiButtonCtrl("Report_Button1") {
profile = GuiBlueButtonProfile;
text = "Report!";
width = 80;
x = 129;
y = 100;
}
new GuiTextCtrl("Report_Text1") {
profile = GuiBlueTextProfile;
height = 20;
text = "Player name:";
width = 73;
x = 48;
y = 28;
}
new GuiTextCtrl("Report_Text2") {
profile = GuiBlueTextProfile;
height = 20;
text = "Reason:";
width = 48;
x = 39;
y = 71;
}
}
}
function Report_Button1.onAction() {
// Button "Report!" has been pressed
}