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"};