no work.
PHP Code:
this.drawImage = function(imageData)
{
new GuiShowImgCtrl("image_" @ temp.imageData[0])
{
for (temp.objectData: temp.imageData[1])
{
if (temp.objectData[0] == "playerlook")
{
actor.playerlook = true;
actor.body = player.body;
actor.head = player.head;
actor.shield = player.shield;
for (temp.i = 0; temp.i < 6; temp.i++)
{
actor.colors[temp.i] = player.colors[temp.i];
}
continue;
}
( @ temp.objectData[0]) = temp.objectData[1];
}
if (temp.imageData[2].size() != 0)
{
thiso.catchevent(this, "onMouseDown", temp.imageData[2][0]);
}
this.bringtofront();
}
};
here is how it is called
PHP Code:
drawImage( {"image-Player", { {"position", {(thiso.backgroundSize[0] - 64), temp.newPosition[1] }}, {"extent", {48, 48}}, {"playerlook"} } });
the position and everything should work, it even reads the playerlook. Doesn't display the player look tho