PHP Code:
new GuiShowImgCtrl("actor_player") {
x = 10;
y = 10;
width = 60;
height = 60;
ani = "idle";
with(showimg){
actor.head = player.headimg;
actor.body = player.bodyimg;
actor.colors[0] = player.colors[0];
actor.colors[1] = player.colors[1];
actor.colors[2] = player.colors[2];
actor.colors[3] = player.colors[3];
actor.shield = player.shieldimg;
actor.dir = 2;
actor.attr[1] = player.attr[1];
}
}