I did this to create my rotating space ship (on Litheria)
PHP Code:
//#CLIENTSIDE
function onCreated()
{
showimg(201, "", this.x, this.y);
findimg(201).shape = "test.3ds";
findimg(201).zoom = 0.03;
setTimer(0.05);
this.chat = "wee";
}
function onTimeout()
{
this.yrot += 0.05;
this.zrot += 0.05;
findimg(201).eulerrotation = {0,this.yrot,this.zrot};
setTimer(0.05);
}