View Single Post
  #1  
Old 03-19-2011, 07:10 PM
AlexanderK AlexanderK is offline
Registered User
AlexanderK's Avatar
Join Date: Mar 2006
Location: Germany
Posts: 79
AlexanderK is on a distinguished road
Send a message via MSN to AlexanderK
Custom Nick Display, general showimg questions

What is the best way to do this?
Right now I'm using showimgs like that:
PHP Code:
//#CLIENTSIDE
function onCreated() setTimer(0.1);

function 
onTimeOut() {
  
temp.0;
  for (
plplayers) {
    
with(findimg(500 temp.i)) {
      
pl.1.5;
      
pl.3.5;
      
red blue green 1;
      
textshadow true;
      
shadowcolor = {000};

      if (
pl.clientr.invincible == true)
        
text "(" SPC pl.nick SPC ")";
      else
        
text pl.nick;

      
zoom alpha 0.7;
      
style "c";
    }
    
temp.i++;
  }
  
setTimer(0.05);

But it kind of drags behind the player character when he walks.
Is there a way to prevent that?
I've read here that showimgs can be attached to an owner, how does that work?
Also, I've read somewhere on here that there are indexes for showimgs that make them visible for all players, can I use this somehow?
Reply With Quote