Thread: GUI.settext();
View Single Post
  #2  
Old 05-31-2010, 03:34 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by xMane View Post
PHP Code:
function onTimeout()
{
   
this.hirebiz clientr.bizname;
 
this.findselected findplayer(Biz_BizPlayerList.getselectedtext());
 
Biz_PlayerName.SetText(Biz_BizPlayerList.getselectedtext());
 
Biz_PlayerRank.SetText(this.findselected.clientr.bizrank);
 
Biz_PlayerAdmin.SetText(this.findselected.clientr.bizadmin);
setTimer(0.05);

why doesnt this show other player's names and info only mynes when selectd.
it shows the other player's name only no bizrank or bizadminlevel.
You can't read clientr flags from the clientside, I'd recommend storing the biz rank/admin in the players attr (player.attr[##]), that way you can read it to and from the server.


READ CHRIS VIMES POST, HE EXPLAINED ALOT:
http://forums.graalonline.com/forums...hp?t=134259285
__________________
Reply With Quote