View Single Post
  #271  
Old 07-21-2005, 03:52 AM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by Stefan
Ah fix what exactly?
I've included some screen shots and the peice of code.

PHP Code:
  if(this.choice =="Status"){
    
showimg(501,player.weapons[this.weaponindex].image,this.guix+180,this.guiy+50);
    
changeimgvis(501,7);
    
tokens wraptext2(300,.6," ",this.check);
    
player.chat tokens;
    for(
s=0;s<tokenscount;s++){
      
showtext(502+s,this.guix+190,this.guiy+85+(15*int(s/1)),"Courier","b",tokens[s]);
      
changeimgvis(502+s,7);
      
changeimgzoom(502+s,.6);
    }
  } 
seems as though it adds exsive quotes and it messes with my math setting a new line every array position...
tokens = wraptext2(300,.6,"",this.check); i have tried this serveral ways including the way the docs use it:
tokens = wraptext2(300,.6," ," @ "",this.check);

I've already asked cheetos too and hes says its been bugged for a while now

EDIT: also this is the string from the weapon,
NPC Code:

this.status = {"This is the Bugs Reporting tool.","This helps the players notify staff about bugs"};

Attached Thumbnails
Click image for larger version

Name:	bug1.JPG
Views:	149
Size:	78.0 KB
ID:	32793   Click image for larger version

Name:	bug2.JPG
Views:	138
Size:	53.3 KB
ID:	32794  
__________________