So Would My Code Look Something Like This?
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;
x = 517;
y = 208;
new GuiTextCtrl("MyGUI_Profile_Text10") {
profile = GuiBlueTextProfile;
height = 20;
text = "Country :";
width = 51;
x = 10;
y = 10;
}
new GuiTextCtrl("MyGUI_Profile_Text11") {
profile = GuiBlueTextProfile;
height = 20;
text = "Online-Time :" SPC pl.onlinetime;
width = 78;
x = 9;
y = 32;
}
new GuiTextCtrl("MyGUI_Profile_Text12") {
profile = GuiBlueTextProfile;
height = 20;
text = "Relationship :";
width = 78;
x = 10;
y = 54;
}
new GuiTextCtrl("MyGUI_Profile_Text13") {
profile = GuiBlueTextProfile;
height = 20;
text = "Gralats ($) :" SPC pl.gralats;
width = 66;
x = 10;
y = 74;
}
new GuiTextCtrl("MyGUI_Profile_Text14") {
profile = GuiBlueTextProfile;
height = 20;
text = "Health :" SPC pl.hp/SCP pl.maxhp;
width = 43;
x = 11;
y = 95;
}
new GuiTextCtrl("MyGUI_Profile_Text15") {
profile = GuiBlueTextProfile;
height = 20;
text = "Align :" SPC pl.ap;
width = 34;
x = 12;
y = 116;
}
new GuiTextCtrl("MyGUI_Profile_Text16") {
profile = GuiBlueTextProfile;
height = 20;
text = "Kills :" SPC pl.kills;
width = 33;
x = 12;
y = 140;
}
new GuiTextCtrl("MyGUI_Profile_Text17") {
profile = GuiBlueTextProfile;
height = 20;
text = "Spar W-L :";
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";
width = 120;
x = 67;
y = 11;
}
new GuiPopUpEditCtrl("MyGUI_Profile_PopupEdit1") {
profile = GuiBluePopUpMenuProfile;
alpha = 0;
height = 20;
scrollprofile = "GuiTextProfile";
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";
width = 320;
y = 185;
}
}
}
anyways how would i make it so every person who right clicks the other player see ther other player stats..?