PHP Code:
//#CLIENTSIDE
function onCreated() {
this.setShape(1,80,32);
showimg(200,"treetrunk1.png",this.x-5,this.y-6);
changeimgvis(200,1);
showimg(201,"treetop1.png",this.x-5,this.y-15);
}
Firstly, you need to surround your strings(words, or anything not numerical) in quotations. Secondly, you want to use an index of 200 and over... since it's clientside, it only needs to show for that player(as each player will get their own instance). Anything under 200 attempts to display the image to all players, and that's only useful for weapons like boomerangs and so.