View Single Post
  #2  
Old 08-20-2009, 06:06 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
You can change the color in findimg, with the variables: red, green, blue

I.e:

PHP Code:
with (findimg(1)) {
  
text player.nick;
  
player.1.5;
  
player.3;
  
layer 1// Play around with this, to determine where it draws anything.
  
red 1;
  
green 0;
  
blue 0;

However I would suggest you take a different route with your nickname script, and this would be for better as players would be able to disable them and such as.

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

function 
onTimeout() {
  
hideimgs(2001000); // This will need to be re-optimized as hiding then redrawing every frame is bad :(
  
drawNicknames();
}

function 
drawNicknames() {
  
// Loop through Players
  
for (temp.pplayers) {
    
// Draw Text under Player
    
with (findimg(200 temp.p.id)) {
      
temp.p.1.5;
      
temp.p.3;
      
style "bc";
      
text temp.p.nick;
    }
  }

I didn't include the enablefeatures part of the script because I assume you already know how to use it, also I noticed you deleted your thread when you had your problem fixed. Don't do that!
__________________
Quote:

Last edited by fowlplay4; 08-20-2009 at 06:23 PM..
Reply With Quote