Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-21-2012, 01:23 AM
Fatel Fatel is offline
Worlds Connected Dev
Join Date: Jun 2012
Posts: 18
Fatel is an unknown quantity at this point
report system problem

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";
    
318;
    
67;

    new 
GuiTextEditCtrl("Report_TextEdit1") {
      
profile GuiBlueTextEditProfile;
      
height 20;
      
width 171;
      
89;
      
71;
    }
    new 
GuiTextEditCtrl("Report_TextEdit2") {
      
profile GuiBlueTextEditProfile;
      
height 20;
      
width 80;
      
125;
      
29;
    }
    new 
GuiButtonCtrl("Report_Button1") {
      
profile GuiBlueButtonProfile;
      
text "Report!";
      
width 80;
      
129;
      
100;
    }
    new 
GuiTextCtrl("Report_Text1") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Player name:";
      
width 73;
      
48;
      
28;
    }
    new 
GuiTextCtrl("Report_Text2") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Reason:";
      
width 48;
      
39;
      
71;
    }
  }
}

function 
Report_Button1.onAction() {
  
// Button "Report!" has been pressed
 

Attached Thumbnails
Click image for larger version

Name:	ugh.png
Views:	216
Size:	15.8 KB
ID:	54967  
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.