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)) {
x = player.x + 5;
y = player.y + 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.