View Single Post
  #13  
Old 07-15-2010, 09:38 PM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
How are you showing the image?

I copied your code into a weapon script, and it works fine for me (I have two accounts logged on, and both accounts see the image).

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

function 
onTimeout() {
  if (
keydown(0)) {
    
with (findimg(5)) {
      
player.5
      
player.5;
        
      
this.ani "idle";
      
this.dir 1;
      
this.layer 1;
        
      
this.playerlook false;
      
actor.headimg playero.headimg;
      
actor.bodyimg playero.bodyimg;
      
actor.shield playero.shieldimg;    
    }
  } else {
    
hideImg(5);
  }
  
  
setTimer(.05);

Edit: I know that image indexes < 200 will not show for all players in a level or DBNPC...it has to be a weapon.
__________________
Reply With Quote