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

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 07-20-2012, 06:26 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
What do you need help with? We can't make the whole thing for you.
__________________
Reply With Quote
  #3  
Old 07-20-2012, 06:29 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
Quote:
Originally Posted by cbk1994 View Post
What do you need help with? We can't make the whole thing for you.
i put // on the things i need help with.
Reply With Quote
  #4  
Old 07-20-2012, 10:00 AM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
pl.kills, pl.app etc don't go inside a string. They go outside.
PHP Code:
this.text "Kills:" SPC pl.kills
__________________
Reply With Quote
  #5  
Old 07-20-2012, 10:01 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Emera View Post
pl.kills, pl.app etc don't go inside a string. They go outside.
PHP Code:
this.text "Kills:" SPC pl.kills
And referencing a pl object won't do you no good if it doesn't even exist.
Reply With Quote
  #6  
Old 07-20-2012, 09:27 PM
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
do i?

Quote:
Originally Posted by Emera View Post
pl.kills, pl.app etc don't go inside a string. They go outside.
PHP Code:
this.text "Kills:" SPC pl.kills
so all i have to do is add SPC pl.nick; SPC pl.kills; and so on?
Reply With Quote
  #7  
Old 07-21-2012, 12:03 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Bleachlover551 View Post
so all i have to do is add SPC pl.nick; SPC pl.kills; and so on?
As Crow said, pl won't have been set. Use findPlayer(account) to get the player object. Some of that info is only going to be available serverside, though, so you'll have to stuff all the data you need into an array serverside and then send it back to the client to display it.
__________________
Reply With Quote
  #8  
Old 07-22-2012, 10:17 PM
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
O_o!

Quote:
Originally Posted by cbk1994 View Post
As Crow said, pl won't have been set. Use findPlayer(account) to get the player object. Some of that info is only going to be available serverside, though, so you'll have to stuff all the data you need into an array serverside and then send it back to the client to display it.
Wow thats Hard I thought Gui Would Be Easy :-/
Reply With Quote
  #9  
Old 07-23-2012, 01:22 AM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Why Do You Talk Like This? Its Very Annoying. ...

Instead, you could trigger the client with the needed data, and create the GUI afterwards.
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #10  
Old 07-23-2012, 02:27 AM
devilsknite1 devilsknite1 is offline
C:
devilsknite1's Avatar
Join Date: Jul 2006
Location: Florida, USA
Posts: 269
devilsknite1 has a spectacular aura about
Send a message via AIM to devilsknite1 Send a message via MSN to devilsknite1 Send a message via Yahoo to devilsknite1
Quote:
Originally Posted by Bleachlover551 View Post
Wow thats Hard I thought Gui Would Be Easy :-/
Not all that hard... Try checking out this link if you're a beginner.
Reply With Quote
  #11  
Old 07-23-2012, 02:50 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Bleachlover551 View Post
Wow thats Hard I thought Gui Would Be Easy :-/
It is easy, but you can't expect to create something without spending a bit of time getting familiar with the platform.

You can read more about serverside, clientside, and triggers here.
__________________
Reply With Quote
  #12  
Old 07-23-2012, 02:55 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by Crow View Post
And referencing a pl object won't do you no good if it doesn't even exist.
Obviously, but reading his script will show that he's put references to pl. objects into a string, so I'm making a logical assumption that they already exist.
__________________
Reply With Quote
  #13  
Old 07-23-2012, 04:44 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Emera View Post
Obviously, but reading his script will show that he's put references to pl. objects into a string, so I'm making a logical assumption that they already exist.
They probably don't.
Reply With Quote
  #14  
Old 07-23-2012, 07:40 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Emera View Post
Obviously, but reading his script will show that he's put references to pl. objects into a string, so I'm making a logical assumption that they already exist.
Obviously, the more "logical" assumption would be that considering he's new to programming and how he has no idea how to do what he's trying to do, would be to assume he saw it used in another script and have no idea what he's doing with it.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #15  
Old 07-23-2012, 10:01 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by xXziroXx View Post
Obviously, the more "logical" assumption would be that considering he's new to programming and how he has no idea how to do what he's trying to do, would be to assume he saw it used in another script and have no idea what he's doing with it.
He's "obviously" got some idea about what he's trying to do since he actually made the profile GUI and such, and has edited it to look like what he wants it to look like. Not everybody is stupid, you know.
__________________
Reply With Quote
  #16  
Old 07-23-2012, 10:53 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Emera View Post
He's "obviously" got some idea about what he's trying to do since he actually made the profile GUI and such, and has edited it to look like what he wants it to look like. Not everybody is stupid, you know.
Ziro didn't say he was stupid. Creating and positioning GUI elements is as easy as pie.
Reply With Quote
  #17  
Old 07-24-2012, 12:20 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Emera View Post
Not everybody is stupid, you know.
Yes, they are, until proven otherwise - not that I said he was stupid to begin with, I just said he probably saw it in another script and thought it'd work.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #18  
Old 07-24-2012, 03:13 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by Crow View Post
Ziro didn't say he was stupid. Creating and positioning GUI elements is as easy as pie.
Quote:
Originally Posted by xXziroXx View Post
Yes, they are, until proven otherwise - not that I said he was stupid to begin with, I just said he probably saw it in another script and thought it'd work.
mhm
__________________
Reply With Quote
  #19  
Old 07-24-2012, 03:24 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
You concat strings using @, so don't place it inside a string (" ")

PHP Code:
"Profile : @pl.nick@"
Would be:
PHP Code:
"Profile: " pl.nick 
Also, you are referencing 'pl' which is a uninitialized variable. Look into using the findplayer() function.
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote
  #20  
Old 07-24-2012, 03:26 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by BlueMelon View Post
You concat strings using @, so don't place it inside a string (" ")

PHP Code:
"Profile : @pl.nick@"
Would be:
PHP Code:
"Profile: " pl.nick 
Also, you are referencing 'pl' which is a uninitialized variable. Look into using the findplayer() function.
ya

Quote:
Originally Posted by Emera View Post
pl.kills, pl.app etc don't go inside a string. They go outside.
PHP Code:
this.text "Kills:" SPC pl.kills
Quote:
Originally Posted by Crow View Post
And referencing a pl object won't do you no good if it doesn't even exist.
Quote:
Originally Posted by cbk1994 View Post
As Crow said, pl won't have been set. Use findPlayer(account) to get the player object. Some of that info is only going to be available serverside, though, so you'll have to stuff all the data you need into an array serverside and then send it back to the client to display it.
__________________
Reply With Quote
  #21  
Old 07-24-2012, 07:07 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Emera View Post
mhm
I never called him personally stupid, I'm calling everyone in the world stupid until they prove otherwise, and that was after you accused me of calling him stupid.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #22  
Old 07-24-2012, 07:32 PM
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
I didn't try to call this annoying i really respect everyone of you for helping me.
Reply With Quote
  #23  
Old 08-04-2012, 09:53 PM
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
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;
    
517;
    
208;
    
    new 
GuiTextCtrl("MyGUI_Profile_Text10") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Country :";
      
width 51;
      
10;
      
10;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text11") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Online-Time :" SPC pl.onlinetime;
      
      
width 78;
      
9;
      
32;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text12") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Relationship :";
      
width 78;
      
10;
      
54;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text13") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Gralats ($) :" SPC pl.gralats;
      
width 66;
      
10;
      
74;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text14") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Health :" SPC pl.hp/SCP pl.maxhp;
      
width 43;
      
11;
      
95;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text15") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Align :" SPC pl.ap;
      
width 34;
      
12;
      
116;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text16") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Kills :" SPC pl.kills;
      
width 33;
      
12;
      
140;
    }
    new 
GuiTextCtrl("MyGUI_Profile_Text17") {
      
profile GuiBlueTextProfile;
      
height 20;
      
text "Spar W-L :";
      
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";
      
width 120;
      
67;
      
11;
    }
    new 
GuiPopUpEditCtrl("MyGUI_Profile_PopupEdit1") {
      
profile GuiBluePopUpMenuProfile;
      
alpha 0;
      
height 20;
      
scrollprofile "GuiTextProfile";
      
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";
      
width 320;
      
185;
    }
  }

anyways how would i make it so every person who right clicks the other player see ther other player stats..?
Reply With Quote
  #24  
Old 08-04-2012, 10:01 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Bleachlover551 View Post
anyways how would i make it so every person who right clicks the other player see ther other player stats..?
By reading the posts in this thread and following the advice contained in them. Get it working without dealing with right-clicking first, and then add that after everything else is working. Then you can test it easier.

Stuff it in a function like

PHP Code:
function showProfile(temp.account) {
  

and call that in onCreated with some account for easy testing.

When you're ready to start on the right-click bits, look at this thread for reference (read the posts after the OP).
__________________
Reply With Quote
Reply


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 12:11 AM.


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