View Single Post
  #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
    
x = 517;
    
y = 208;

    new 
GuiTextCtrl("MyGUI_Profile_Text10") {
      
profile = GuiBlueTextProfile;
      
height = 20;
      
text = "Country :"; // show display a drop list of countries
      
width = 51;
      
x = 10;
      
y = 10;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text11") {
      
profile = GuiBlueTextProfile;
      
height = 20;
      
text = "Online-Time : @pl.onlinetime@"; //show show the players online time
      
width = 78;
      
x = 9;
      
y = 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;
      
x = 10;
      
y = 54;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text13") {
      
profile = GuiBlueTextProfile;
      
height = 20;
      
text = "Gralats ($) : pl.gralats "; // show player money
      
width = 66;
      
x = 10;
      
y = 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;
      
x = 11;
      
y = 95;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text15") {
      
profile = GuiBlueTextProfile;
      
height = 20;
      
text = "Align : pl.ap"; // there current ap
      
width = 34;
      
x = 12;
      
y = 116;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text16") {
      
profile = GuiBlueTextProfile;
      
height = 20;
      
text = "Kills : pl.kills"; // how many kills they have
      
width = 33;
      
x = 12;
      
y = 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;
      
x = 12;
      
y = 162;
    }
    new 
GuiScrollCtrl("MyGUI_Profile_TextList1_Scroll") {
      
profile = GuiBlueScrollProfile;
      
alpha = 0;
      
height = 115;
      
hscrollbar = "alwaysOff";
      
vscrollbar = "dynamic";
      
width = 132;
      
willfirstrespond = false;
      
x = 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;
      
x = 67;
      
y = 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;
      
x = 192;
      
y = 174;
    }
    new 
GuiScrollCtrl("MyGUI_Profile_MultiLine1_Scroll") {
      
profile = GuiBlueScrollProfile;
      
alpha = 0;
      
constantthumbheight = true;
      
height = 55;
      
hscrollbar = "dynamic";
      
vscrollbar = "dynamic";
      
width = 320;
      
willfirstrespond = false;
      
y = 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;
      
y = 185;
    }
  }
} 
heres a picture and also i want a runing gani where u see my character at.
Reply With Quote