Quote:
Originally Posted by cbk1994
This is working for me:
PHP Code:
//#CLIENTSIDE
function onCreated() {
with (findImg(200)) {
image = "light3.png";
x = GraalControl.width / 2;
y = GraalControl.height / 2;
layer = 4;
// these two lines are the key:
useOwnCenter = true;
rotationCenter = {20, 20};
}
while (true) {
findImg(200).rotation += 0.1;
sleep(0.05);
}
}
|
Thanks, my problem was that I didn't use showimg.rotationCenter inside GuiShowImgCtrl