Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

View Poll Results: Was This Topic Helpful? (Be Honest)
Yes, Thanks For Making This Help Topic 3 75.00%
No, I Honestly Just Came To Help You. Also I Already Knew This Stuff... 2 50.00%
It Really Depends, I Though It Was Helpful, But I Already Knew Some Of This, But Not All Of It. 2 50.00%
Multiple Choice Poll. Voters: 4. You may not vote on this poll

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-20-2012, 06:15 AM
Bleachlover551 Bleachlover551 is offline
Soul Reaper
Bleachlover551's Avatar
Join Date: Jul 2012
Location: Brunswick
Posts: 34
Bleachlover551 is an unknown quantity at this point
Gui_Profile [Help]

i want it to replace the defualt right click on a player

PHP Code:
// Scripted by Toshi!
//#CLIENTSIDE
function onCreated() {
  new 
GuiWindowCtrl("MyGUI_Profile_Window3") {
    
profile GuiBlueWindowProfile;
    
clientrelative true;
    
clientextent "320,240";

    
canmove true;
    
canresize false;
    
closequery false;
    
destroyonhide false;
    
text "Profile : @pl.nick@"//should show player nick
    
517;
    
208;

    new 
GuiTextCtrl("MyGUI_Profile_Text10") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Country :"// show display a drop list of countries
      
width 51;
      
10;
      
10;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text11") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Online-Time : @pl.onlinetime@"//show show the players online time
      
width 78;
      
9;
      
32;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text12") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Relationship :"// should show a drop down box of stuff single marries ect.
      
width 78;
      
10;
      
54;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text13") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Gralats ($) : pl.gralats "// show player money
      
width 66;
      
10;
      
74;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text14") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Health : pl.hp/pl.maxhp"// show player heart points over there max heart points like 4/5 hearts
      
width 43;
      
11;
      
95;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text15") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Align : pl.ap"// there current ap
      
width 34;
      
12;
      
116;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text16") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Kills : pl.kills"// how many kills they have
      
width 33;
      
12;
      
140;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text17") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Spar W-L :"// show show something like 1-3 wins equal 1 and loses equal 3 but like this "#-#"
      
width 59;
      
12;
      
162;
    }
    new 
GuiScrollCtrl("MyGUI_Profile_TextList1_Scroll") {
      
profile GuiBlueScrollProfile;
      
alpha 0;
      
height 115;
      
hscrollbar "alwaysOff";
      
vscrollbar "dynamic";
      
width 132;
      
willfirstrespond false;
      
187;

      new 
GuiTextListCtrl("MyGUI_Profile_TextList1") {
        
profile GuiBlueTextListProfile;
        
alpha 0;
        
fitparentwidth false;
        
height 34;
        
horizsizing "width";
        
sortcolumn 143384832;
        
width 219;
      }
    }
    new 
GuiPopUpMenuCtrl("MyGUI_Profile_Popup1") {
      
profile GuiBluePopUpMenuProfile;
      
height 20;
      
maxpopupheight 200;
      
scrollprofile "GuiTextProfile";
      
text "Country"//show have a drop down box of diff countries
      
width 120;
      
67;
      
11;
    }
    new 
GuiPopUpEditCtrl("MyGUI_Profile_PopupEdit1") {
      
profile GuiBluePopUpMenuProfile;
      
alpha 0;
      
height 20;
      
scrollprofile "GuiTextProfile"//show show a gani like a run then sword attack;
      
width 120;
      
192;
      
174;
    }
    new 
GuiScrollCtrl("MyGUI_Profile_MultiLine1_Scroll") {
      
profile GuiBlueScrollProfile;
      
alpha 0;
      
constantthumbheight true;
      
height 55;
      
hscrollbar "dynamic";
      
vscrollbar "dynamic";
      
width 320;
      
willfirstrespond false;
      
184;

      new 
GuiMLTextCtrl("MyGUI_Profile_MultiLine1") {
        
profile GuiBlueMLTextProfile;
        
alpha 0;
        
height 17;
        
horizsizing "width";
        
parsetags false;
        
plaintext "Multi Line Text Field Standard Content";
        
text "Multi Line Text Field Standard Content";
        
width 217;
        
wordwrap false;
      }
    }
    new 
GuiTextEditCtrl("MyGUI_Profile_TextEdit1") {
      
profile GuiBlueTextEditProfile;
      
height 55;
      
hint "Status";    // make a status that stays on it     
      
width 320;
      
185;
    }
  }

heres a picture and also i want a runing gani where u see my character at.
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 07:16 PM.


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