View Single Post
  #1  
Old 10-08-2011, 06:11 PM
Nogross Nogross is offline
Registered User
Nogross's Avatar
Join Date: Feb 2011
Location: Germany
Posts: 23
Nogross is an unknown quantity at this point
Send a message via ICQ to Nogross
Question Custom Name System error

Hello Forum,

I got a proplem with my Custom Name System.. It's based like Gunderaks 1:
http://forums.graalonline.com/forums...hp?t=134264204

The proplem is that the hp text and the guild text will be overwritten if there are more then 2 player in the room. I hope you guys can help me.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
enablefeatures(200);
  
setTimer(0.05);
}

function 
onTimeOut() {
  
this.hideimgs(200200 this.i);

  for (
temp.plplayers) {
    
this.showtext(200 this.itemp.pl.1.57temp.pl.3.05"Arial""cb", @ temp.pl.nick);
    
changeimgcolors(200 this.i0.510.51);
    
changeimgvis(200 this.i1);
    
changeimgzoom(200 this.i0.75);
    
this.i++;
    
this.showtext(201 this.itemp.pl.1.57temp.pl.3.85"Arial""cb", @ temp.pl.hearts "/" temp.pl.maxhp);
    
changeimgcolors(201 this.i10.10.11);
    
changeimgvis(201 this.i1);
    
changeimgzoom(201 this.i0.65);
    
this.i++;
    
showtext(202 this.itemp.pl.1.57temp.pl.4.35"Arial""cb", @ temp.pl.clientr.guildtag);
    
changeimgcolors(202 this.i1111);
    
changeimgvis(202 this.i1);
    
changeimgzoom(202 this.i0.65);
    
this.i++;
  }
  
setTimer(0.05);

Thanks anyway!
NG

Last edited by Nogross; 10-08-2011 at 06:58 PM.. Reason: Beautified
Reply With Quote